On 1/13/03, Jillian Carroll penned: >I am having a really weird problem... I do some calculations in CF, they >work on my development machine (Windows XP Home/Apache) but when I >upload them to my host (Windows 2000/IIS) they don't work. I get this >error... anybody able to help me on this one? > >*** *** ***
<snip> > ><!--- Next/Previous Logic Start ---> > > <!--- Set the number of records to display on each page. ---> > <CFSET OnEachPage = #toolsviewnum#> > > <!--- Set the default startrow to 1 if a value was not passed. ---> > <!--- Determine whether or not to show the previous or next links. ---> > <CFPARAM NAME = "StartRow" DEFAULT = "1"> > > <!--- Set the value of endrow to the maxrows + startrow - 1 ---> > <CFSET EndRow = StartRow + OnEachPage - 1> The first thing I'd check is what the value of toolsviewnum is. If it's blank, then that will cause the error. I couldn't see from your code where that value is being set. If that value is being pulled from a database, that may be why it works on the dev box and not on the host's server. Maybe the data is different in the test database. :) -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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