Sep 17, 2002 #1 GJParker Programmer Joined Jul 4, 2002 Messages 1,614 Location 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
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
Sep 17, 2002 #2 HowardMarks MIS Joined Jan 26, 2001 Messages 550 Location GB strCoCat = rs[1] & rs[2] & rs[3] & rs[4] etc. etc. etc. Nick (Web Developer) http://www.retrographics.co.uk nick@retrographics.co.uk Upvote 0 Downvote
strCoCat = rs[1] & rs[2] & rs[3] & rs[4] etc. etc. etc. Nick (Web Developer) http://www.retrographics.co.uk nick@retrographics.co.uk
Sep 17, 2002 #3 HowardMarks MIS Joined Jan 26, 2001 Messages 550 Location GB 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) http://www.retrographics.co.uk nick@retrographics.co.uk Upvote 0 Downvote
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) http://www.retrographics.co.uk nick@retrographics.co.uk