Set Credit Card Years Forever
<cfparam name="fromYear" default="#DateFormat(Now(),"yyyy")#">
<cfset toYear= fromYear + 5>
<select name="cardYear">
<option value="0" <cfif fromYear eq "0">selected</cfif>>Select Year</option>
<cfoutput>
<cfloop index="year" from="#DateFormat(Now(),"yyyy")#" to="#toYear#" step="+1">
<option value="#year#" <cfif fromYear eq year>selected</cfif>>#year#</option>
</cfloop>
</cfoutput>
</select>
Display a Next and Previous Page link without much hassle. its just that simple
a simple way to export data to an excel spreadsheet and include the total at the end of the list
For this tutorial I'm using the CFDOCEXAMPLES database. If you just copy and paste the codes to its particular CFM file it'll work perfectly.
INDEX.CFM
PARKRESULT.CFM
The navigation table may seem a bit clustered but if you break it down, you'll see it's quite simple.