You'll need to use Cfloop with startrow and endrow parameters specified to
display as many records as you want per page. You'll cfparam url.startrow
(so a default exists the first time you hit the page) to 1 then have a link
on the page, ie a NEXT button - reloading the page, passing the id of the
first record on the next page...

Also, you need to know how many records exist, then how many records per
page which then will tell you how many pages you'll have.

-----Original Message-----
From: Terry Troxel [mailto:[EMAIL PROTECTED]
Sent: 30 December 2003 15:45
To: CF-Talk
Subject: Query paging Problem

Could someone please give me an example of how to break up query
results to x number of records to a page ala Google, when you are using
grouping in your cfoutput tags?

I am doing a shopping cart and grouping on product lines, then
nesting a blank cfoutput inside to display all the items within that
product line.

Terry Troxel
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to