If I could understand the requirement correctly, following is the answer.
ADO recordset has a method called GetString() that should return your results as string:
Dim strResult as String
strResult = Adodc1.Recordset.GetString(adClipString, 15,";"
MsgBox strResult
Above, adClipString must be specified to confirm that the return type is of string. 15 is the number of rows to return and semicolon is column seperator, default is a tab. Also Adodc1 is the ADO data control with data already populated. I hope this would be of some help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.