mseal1 -> Variables and search pages (5/24/2002 9:11:15)
Hi, I have a nagging problem… I have a search screen that uses a DRW. As part of the application, I need to have a variable (hidden or displayed) from a previous ASP form. The value shows up fine in the first search of the dB, however, if there are more pages to display (scrolling), the next pages loss the displayed variable. How do I keep displaying the variable (coming form another dB) while I page the search results?
Thanks Motty
Spooky -> RE: Variables and search pages (5/24/2002 20:45:10)
Each page would need to pull the variable. If you are using URL's, youll need to amend it to the end of the querystring, or if using a form, add a hidden field.
How do you pass the info from page2 of the search to page 3?
mseal1 -> RE: Variables and search pages (5/26/2002 14:35:45)
Hi Spooky, I have tried both ways. In the first, I’m passing a hyperlink from form A to B, and using it to access a DRW so I’m current on the record. In the other, I use a hidden field. In both, the B screen at first displays the variable, but if I need to page (FP paging), I loss the variables value. Do I need to hide the variable in the search form on the B page?
Thanks Motty
Spooky -> RE: Variables and search pages (5/27/2002 21:52:37)
Yes, the variable would neeb to be included in whatever POST or GET action you perform. The value of the hidden field or url will always be <%=Request("YourValue")%> with a named form element of "YourValue"
mseal1 -> RE: Variables and search pages (6/17/2002 13:14:05)
Hi again… When I have a DRW with the search field/form at the top of the asp page and the search results at the bottom of the same page, and I set the results to page every 10 or 15 hits, how can I add the hidden values so that when I page I retain them? I can add the values to the DRW region, but once I page I loose the values.