Parse a string from a field and display in table

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default Parse a string from a field and display in table

    Hi, I am new to ASP but have what should be a fairly simple task that I
    can't figure out.
    I need to parse a string from a single, semi-colon delimited, 60 character
    field (el_text) in a recordset and display the results in a table on a
    webpage (ASP)

    I can retrieve the recordset from the database and display the field data
    results in rows of a table but have the entire 60 character string in one
    cell. I need to break that string apart and put each semi-colon delimited
    value in it's own cell. Then move to the next record and do the same thing
    in the next row of the table. - and so on

    I'm using ASP, VB Script with DMSII Database and OLEDB

    Does anyone have some code examples on how to break this field apart and
    then arrange the data into an html table on a webpage?

    Dan Somdahl Guest

  2. Similar Questions and Discussions

    1. How to parse a string into a date?
      I have a date string that comes into my Flex app as something like '2005-10-24 00:00:00'. I have a DateFormatter set up as <mx:DateFormatter...
    2. parse php string
      is there a function that parse a string containing php and saves the result into a variable? thanks in advance
    3. Parse part of string (mid string function ?)
      Can someone tell me how to parse part of a string? I can use the following: <?php $text = $_SERVER; //$PHP_SELF //(document.url); echo $text;...
    4. Select from table where field = string
      How to select all lines containg a string (located in $pastmove) in the moves column I tried several ways, for example: $requete="SELECT...
    5. Seperating data from single table field (string)
      Hi All Can anyone help with this please. I need a way of putting say 10 to 20 bullet points in one table field in an Access database - say...
  3. #2

    Default Re: Parse a string from a field and display in table

    "Dan Somdahl" <dsomdahl@wilson-mcshane.com> wrote in message
    news:C24D216F.231%dsomdahl@wilson-mcshane.com...
    > Hi, I am new to ASP but have what should be a fairly simple task that I
    > can't figure out.
    > I need to parse a string from a single, semi-colon delimited, 60 character
    > field (el_text) in a recordset and display the results in a table on a
    > webpage (ASP)
    >
    > I can retrieve the recordset from the database and display the field data
    > results in rows of a table but have the entire 60 character string in one
    > cell. I need to break that string apart and put each semi-colon delimited
    > value in it's own cell. Then move to the next record and do the same
    thing
    > in the next row of the table. - and so on
    >
    > I'm using ASP, VB Script with DMSII Database and OLEDB
    >
    > Does anyone have some code examples on how to break this field apart and
    > then arrange the data into an html table on a webpage?
    6 different posts in (at least) 3 newsgroups about the same thing!

    [url]http://www.aspfaq.com/5003[/url]


    McKirahan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139