<CFIF getcustomerid.recordcount EQ 0> <CFSET Customerid=100> <CFELSE> <CFSET customerid = #getcustomerid.cid# + 1> </CFIF>
tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -----Original Message----- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 3:26 PM To: CF-Talk Subject: cannot convert Hello, I get an error message when I try to setup a counter. Here is the code: <CFIF getcustomerid.recordcount EQ 0> <CFSET Customerid=100> <CFELSE> <CFSET customerid = getcustomerid.cid + 1> </CFIF> The error reads: "An error occurred while evaluating the expression: customerid = getcustomerid.cid + 1 Error near line 8, column 7.<HR><P>Cannot convert to number..." Thanks for the help as always. Robert O. HWW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

