use the next n logic that's floating around.

if you're using sql server just get the rownum of the record you retrieve
initially, and set that number as the start.  then you can just add/subtr
act
whatever "step" number you choose to make the next/previous buttons.

if you need the code email me off the list.

----- Original Message -----
From: "Tony Gruen" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 11:02 PM
Subject: Mental Block


> Hello Awesome List-ers,
> I am suffering mental block. I cannot envision a creative solution to t
he
> following item. I am hopeful that someone here can offer an insightful
> thought trigger...
>
> I am building a system to view documents in a few categories. You will
> select a document and see that one entry. I want to have [next doc] [pr
ev
> doc] buttons to move through the other documents in the chosen category.
> Trouble is that depending on the original document selected you could b
e
in
> the middle, at the end or beginning of the subset and the unique id fro
m
the
> database is not sequential for the category subset.
>
> I know I will be embarrassed when someone points out the obvious to me 
but
I
> am at an impasse. All thoughts are welcome.
>
> Tony Gruen
>
> 
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to