Forums

This topic is locked

Weird results when pressing NEXT in repeat region

Posted 07 Dec 2002 16:10:53
1
has voted
07 Dec 2002 16:10:53 Dave Clarke posted:
HI

I have a page that displays 10 records from a recordset that is created by filtering from a form field sent with the POST method (Request.Form), this works fine for the first 10 records but when the user clicks on the NEXT button in the recordset navigation bar to display the next 10 records the display changes to show all the records not the ones filtered by the Request.Form.
If I use the GET method (Request.QueryString) everything works fine and the navigation bar works as desired.
Any ideas???

Thanks

Dave

ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome

Replies

Replied 07 Dec 2002 17:01:13
07 Dec 2002 17:01:13 Owen Eastwick replied:
Change Request.Form("txtBoxName" to Request("txtBoxName" ie. drop the .Form you should find it works fine with the POST method now.

Regards

Owen.

Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 07 Dec 2002 17:03:28
07 Dec 2002 17:03:28 Dave Clarke replied:
Thanks Owen

Will try that !

ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
Replied 07 Dec 2002 18:08:33
07 Dec 2002 18:08:33 Dave Clarke replied:
working perfectly now Owen, thanks

Dave

ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome

Reply to this topic