I have an asp page that creates a Server.CreateObject("ADODB.recordset"), What I am trying to do is have the retune value seperated by a comma. Example below.
after creating a ADODB.recordset I am currently using the following code to return my sql.
I am trying to get the results to comeback separated by a comma, no column name just the value.
Example:
Any help or direction would be great, Thanks in advance.
Code:
skew = request.querystring("q")
sql="SELECT wh_qty,wh_skid,wh_cases FROM ipc_warehouse WHERE wh_skew= '" + skew + "'"
after creating a ADODB.recordset I am currently using the following code to return my sql.
Code:
do until rs.EOF
for each x in rs.fields
response.write("total inv. " & x.value & " !")
next
rs.MoveNext
loop
I am trying to get the results to comeback separated by a comma, no column name just the value.
Example:
Code:
response.write rs("wh_skid")","rs("wh_cases")","rs("wh_qty")
Any help or direction would be great, Thanks in advance.