It would probably just be easier to write it yourself, its pretty 
basic..
Quick dirty example below..

-----------------------------------------------------

<cfparam name="MyStartRow" default="1">

<cfset MyMaxRows = 10>

<cfif MyStartRow is 0>
        PROBLEMS!
        <cfabort>
</cfif>

<cfquery name="MyQuery" datasource="MyDataSource">
        SomeQuery
</cfquery>

<cfoutput query="MyQuery" StartRow="#MyStartRow#" 
MaxRows="#MyMaxRows#">
        Some output
</cfoutput>

<cfif MyStartRow - MyMaxRows gt 0>
        <cfoutput>
                <a href="MyPage.cfm?MyStartRow=#Evaluate(MyStartRow -
MyMaxRows)#">Previous #MyMaxRows#</a>
        </cfoutput>
</cfif>

<cfif MyStartRow + MyMaxRows lt MyQuery.RecordCount>
        <cfoutput>
                <a href="MyPage.cfm?MyStartRow=#Evaluate(MyStartRow +
MyMaxRows)#">Next #MyMaxRows#</a>
        </cfoutput>
</cfif>


-----Original Message-----
From: Kelly Matthews [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 12:25 PM
To: CF-Talk
Subject: Re: Next/Previous???


Maybe I am missing something but the help on this is SERIOUSLY 
lacking....

[EMAIL PROTECTED] writes:
>search dev-exchange for "CF_recordcount" it is very nice and 
>unencrypted.



~~~~~~~~~~~~~~~~~~~~~~
Kelly Matthews
Senior Programmer
[EMAIL PROTECTED]
http://www.allsoldout.net
703.387.4000 x 35
~~~~~~~~~~~~~~~~~~~~~~


______________________________________________________________________
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