robert475
02-18-2010, 12:38 PM
Hi
I have a table in a database with about 50 products.
On my asp page i have written a query to fetch the data from the table. The products are distinguished by productCode so the program will loop through the records until .EoF.
I can get these to display on screen fine but i want to know how can i trap each record that is displayed into a session variable?
e.g. if the query returns 5 records:
videoClipRs("Path") = session("1")
videoClipRs("Path") = session("2")
videoClipRs("Path") = session("3")
videoClipRs("Path") = session("4")
videoClipRs("Path") = session("5")
I hope this makes sense what i am saying.
Thanks for your help.
I have a table in a database with about 50 products.
On my asp page i have written a query to fetch the data from the table. The products are distinguished by productCode so the program will loop through the records until .EoF.
I can get these to display on screen fine but i want to know how can i trap each record that is displayed into a session variable?
e.g. if the query returns 5 records:
videoClipRs("Path") = session("1")
videoClipRs("Path") = session("2")
videoClipRs("Path") = session("3")
videoClipRs("Path") = session("4")
videoClipRs("Path") = session("5")
I hope this makes sense what i am saying.
Thanks for your help.