Forums

This topic is locked

Passing Form Variables?

Posted 24 Jul 2001 05:38:05
1
has voted
24 Jul 2001 05:38:05 Joe Johnson posted:
I am using a combo list box on a form with a submit button to pass a value to a stored procedure (SQL) to gain a recordset. Works great, but only for one page. When I go to "Next" (move to next record) and a new page is revealed... nothing. I think that somehow it is "losing" the variable generated by the combo box. How do you pass variables, or hold on to them?

thanks!

Replies

Replied 24 Jul 2001 22:40:06
24 Jul 2001 22:40:06 I Mahomed replied:
Well, are you using a standard variable ? string? try using a session variable .
e.g : Session("svVarName" = blahblah

Disorder


Replied 25 Jul 2001 02:48:10
25 Jul 2001 02:48:10 Joe Johnson replied:
I'd love to declare a session variable. Where do you declare it?
I did get it to work today... instead of using Request.Form("xxx", I used Request("xxx".

Diver

Reply to this topic