Skip to main content
Inspiring
June 15, 2006
Question

Results page repeat ?

  • June 15, 2006
  • 1 reply
  • 225 views
I have the search form with the following fields:
Awardtype (dropbox)
Lastname (textbox)
Firstname (textbox)
Event (dropbox)
Submit button for Search button. When I click on the search button, it takes me to the action page where display all the records from the database. It’s displayed 25 records per page and I have about 200 records from the database. It was displayed correctly on the first page which is 25 records, however, when I click next to move to the next page, I got no record, it should display another 25 records on the second page. I think because I lost all the search criteria on the second page? How do I do this in order to make it work for the rest of the pages? The code is attached, please tell me how.

Thanks
===========================
This topic has been closed for replies.

1 reply

Inspiring
June 16, 2006
<cfdump var="url.sortorder = #url.sortorder#<br>url.sortItem = #url.sortItem#<br>url.firstRec = #url.firstRec#<br>url.lastRecord = #url.lastRecord#<br>">

put this code after your initial 'param' statements in your code. It will display the contents of these variables at the start of each page and should help you to debug what is happening.