Hi Again,
 
startat will either need to be a session variable, or passed as a URL parameter.
e.g.
<cflock...>
    <cfset session.startat = 1>
</cflock>
...
 
----- Original Message -----
Sent: Saturday, February 22, 2003 12:01 PM
Subject: [cfaussie] Re: Logic help

 
Hey Phil,
 
How would you initialize startat as you suggested, would it be something like set startat=1  ?
 
Ron...
 
<cfoutput query="BODYBUILDING" startrow=#startat# maxrows=20>
...
</cfoutput>
 
initialize startat to 1, if they click on next, add 20, if they click on previous, subtract 20.
Don't let it go negative. You can use the bodybuilding.recordcount field to ensure they don't go past the end.
 
Phil.
 
 
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/ ---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/ ---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

<<IMSTP.gif>>

<<2.jpg>>

Reply via email to