|
pd_it_guy -> RE: let me try this again (6/20/2008 10:40:40)
|
Let me get this straight. Page 1 picks up a variable called 'X' from somewhere, and it gets POSTed, along with other variables to page 2. Is this where the hidden variable is passed? Page 2 recovers that variable 'X' (in the '::X::' or just ::X:: numeric format) and includes it in an SQL query to an mdb, which runs when the page runs, to get result 'Y'. Thus, variable "Y" is now available to display or re-use. from the standard format that you would use to display the results in a list or table. (fp_rs("variable")) Further down the page 2, you want to use result 'Y' not just to look at, but in yet another, unrelated SQL query, which will generate a second record set to display, or do what you want to. Why can't you save the value of the extracted variable thus: new_x=fp_rs("Y") (I need to dig out the exact format if an example is not already there to copy), then use the new_x variable in the second query. WHERE recordID=new_x Is this what you tried?
|
|
|
|