This looks like getcustomerid.cid isn't coming back as a number. You should
probably look in the DB to see what datatype it is, and what the actual
contents are.
-- Ben Doom
Programmer & General Lackey
Moonbow Software, Inc
: -----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