Oct 9, 2003 #1 mihalych Programmer Joined Jul 24, 2003 Messages 27 Location US Can somebody help me. How can I load recordset values( product id's) into array. I want to pass array (id values) to another page.
Can somebody help me. How can I load recordset values( product id's) into array. I want to pass array (id values) to another page.
Oct 9, 2003 #2 100dtl Programmer Joined Aug 18, 2003 Messages 313 Location GB sql = "select * from wherever" set rs = dbobj.Execute (sql) arrRS = rs.GetRows() For i = 0 to UBound(arrRS,2) Response.write "<BR>"&arrRS(1,i)&","&arrRS(2,i) next ..etc Upvote 0 Downvote
sql = "select * from wherever" set rs = dbobj.Execute (sql) arrRS = rs.GetRows() For i = 0 to UBound(arrRS,2) Response.write "<BR>"&arrRS(1,i)&","&arrRS(2,i) next ..etc
Oct 9, 2003 Thread starter #3 mihalych Programmer Joined Jul 24, 2003 Messages 27 Location US thanks for that how can I specify in rs.GetRows() to load only "ProductCode" field? Upvote 0 Downvote
Oct 9, 2003 #4 Veep Programmer Joined Jan 10, 2002 Messages 1,368 Location US Select ProductCode From Wherever Upvote 0 Downvote
Oct 9, 2003 Thread starter #5 mihalych Programmer Joined Jul 24, 2003 Messages 27 Location US How can I pass array to another page? Upvote 0 Downvote
Oct 9, 2003 #6 shaddow Programmer Joined Mar 22, 2001 Messages 1,862 Location RO Store it to session. first page Session("storedArray"=myArray other pages myArray=Session("storedArray" ________ George, M Upvote 0 Downvote
Store it to session. first page Session("storedArray"=myArray other pages myArray=Session("storedArray" ________ George, M
Oct 10, 2003 #7 100dtl Programmer Joined Aug 18, 2003 Messages 313 Location GB star it if it was helpful Upvote 0 Downvote