1) just curious... why not use <cfif URL.showAll GTE 25> and omit the <cfelse> rather than have an empty condition?
2) is URL.showAll a numeric value or a boolean? at one point you set it as "YES"... but in your conditional you're evaluating whether or not it's less than 25? On 4/4/07, Steve LaBadie <[EMAIL PROTECTED]> wrote: > I am missing something here. I want to stop next page navigation from > showing if there are less than 25 records over all. This is what I > have. > > > > > > <cfif NOT URL.ShowAll AND TotalRows GT RowsPerPage> > > <!--- Shortcut links for "Pages" of search results ---> > > Page <cfinclude template="NextNIncludePageLinks.cfm"> > > <!--- Show All Link ---> > > <cfoutput> > > <a href="#CGI.SCRIPT_NAME#?ShowAll=Yes">Show All</a> > > </cfoutput> > > </cfif> > > > > <cfif NOT URL.ShowAll><!--- Provide Next/Back links ---><cfinclude > template="NextNIncludeBackNext.cfm"></cfif> > > > > I thought I would right it this way; it does disappear, but doesn't > matter how many records there are. > > > > > > <cfif URL.ShowAll LT 25><cfelse><cfinclude > template="NextNIncludeBackNext.cfm"></cfif> > > > > Steve LaBadie, Web Manager > East Stroudsburg University > 200 Prospect St. > East Stroudsburg, Pa 18301 > 570-422-3999 > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > http://www.esu.edu <http://www3.esu.edu> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274521 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

