I wrote a custom tag some time back to handle this sort of thing ... I
cut out the necessary code for what you're looking for and pasted it
below so you can create a "lite" version of the tag. If you have any
more questions let me know, I'd be glad to help you implement this.


Take the code at the bottom of this message and copy into a file called
NEXTX.cfm

Then do this:

<cfset start=1>
<cfset maxrows="1">

<cfquery name="recordlist" datasource="whatever"
cachedwithin="#CreateTimeSpan(0,0,2,0)#">
SELECT * FROM tblName
</cfquery>

<cf_nextx
    maxRows="#maxrows#" 
    queryName="recordlist" 
    tableWidth="100%"
    urlappend="#myurlappend#">

    <cfoutput query="recordlist" startrow="#start#" maxrows="#maxrows#">
    
    ... Your output here ...

    </cfoutput>

</cf_nextx>




BEGIN CUSTOM TAG BELOW .......


<!--- 
----------------------------------- [CF_NEXTX]
-------------------------------------

Creation Date: [07/10/2001 : 05:03pm]
Version: 0.5 BETA
Developer: Joshua Miller 
Email: [EMAIL PROTECTED]


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to