Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading a recordset to a single variable

Status
Not open for further replies.

GJParker

Programmer
Jul 4, 2002
1,614
GB
Hi,

I would like to cocatenate the contents of a recordset to a single string variable, with a comma between each record.

strCoCat = "rs[1]","rs[2]","rs[3]"....

Thanks.
Gary Parker
Systems Support Analyst
 
Oop sorry if you want commas in between it would be

strConCat = rs[1] & "," & rs[2] & "," & rs[3] & "," & rs[4]

etc etc... Nick (Web Developer)


nick@retrographics.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top