Link to home
Start Free TrialLog in
Avatar of mrong
mrong

asked on

Appending string in asp

Greeting,

I have the following format in a table.

ID   Desc
--    -----
1     this is
2     a
3     test

what I want to have is a string="this is a test". Basically, use the select statement then append the Desc field.   the ID can be null or up to any number.

thanks.

ASKER CERTIFIED SOLUTION
Avatar of alsaan
alsaan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alsaan
alsaan

Um... the second "rsData.EOF" actually should be "rsData.MoveNext"

Greets
alssam's code is right but forget " "
string = string & " " & rsData("desc")
SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial