In both beginner Ben Forta CF 5 and MX books there is a great example by 
Nate Weiss to output a table displaying 10 rows. This example provides 
you a next and previous button to view the results. This is listed in 
the MX book located in chapter 21 and is called NextN5.cfm.

This is what I�m trying to do�

I have a framed webpage that looks like:

*******
*A | B *
*******


In the left frame �A� I have a form with lets say 2 fields FirstName & 
LastName the user enters information into a text field clicks a submit 
button. Then the person�s record shows up on the right side �B�. (To 
this point it works!)

Issue:

Let�s say the user selects last name that beings with a �C� and they get 
100 records.

Currently when they click next on top of the table they should show the 
next 10 people that have last names that begins with �C� due to the 
SPECIFIED CRITERIA passed to the CFQUERY. It works for the initial pass 
but if I click Show All I get everyone in the database. So my search 
criteria is being bypassed some how.

Can the code be modified to remember the parameters passed to it when 
you click next and show all? (NextN5.cfm)

Right now it uses URL parameters but I need a way of keeping information 
on each page as the users� clicks through the results.

I hope this is clearer than my post earlier.

Regards,
James Blaha





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to