Yeah, thanks - I just caught that and fixed it to specify numeric -
thanks, but the error remains - I just posted a more detailed error in
this thread - might be posted before or after this one...

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-----Original Message-----
>>From: Dave Watts [mailto:[EMAIL PROTECTED]
>>Sent: Friday, July 15, 2005 11:14 AM
>>To: CF-Talk
>>Subject: RE: Query error
>>
>>> ....where 9 should be an integer, unless Remoting still sends it
>>> as a string. If so, it seems there is no way to be sure it's
>>> being sent as a number from Flash, is there a way in CF to convert
>>> it from a string type (if that's really how its being sent) to type
>>> numeric? Or at least find out what data type its being received as?
>>
>>Well, CF is more or less typeless*, but you can specify the expected
data
>>type in your CFARGUMENT tag. If I recall correctly, you're specifying
a
>>string when you really expect a number. This will result in your CFC
>>throwing an exception if the data can't be cast as a number. I really
don't
>>see why this would make a difference in this case, assuming that you
>>actually are passing a numeric value, but I'd recommend that you
explicitly
>>specify the data types you expect your arguments to receive.
>>
>>* This is an oversimplification, but still a useful way to think of
CF.
>>
>>Dave Watts, CTO, Fig Leaf Software
>>http://www.figleaf.com/
>>
>>Fig Leaf Software provides the highest caliber vendor-authorized
>>instruction at our training centers in Washington DC, Atlanta,
>>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>>Visit http://training.figleaf.com/ for more information!
>>
>>
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211997
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to