Three ideas.... 1> Check the arguments are being passed in the same order that they are listed in the function 2> Is it possible that the value has a leading or trailing blank space?...add a trim around the value to be sure 3> Use the val() function
On Wed, 9 Feb 2005 14:11:36 -0600, Dawson, Michael wrote: > A little clarification is needed. > > Do you see "productid=1000031" or do you see "1000031" when you output > the variable? > > Are you prepending "productid=" to the number somehow? > > -----Original Message----- > From: jonese [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 09, 2005 2:07 PM > To: CF-Talk > Subject: wits end "The argument PRODUCTID passed to function > displayProductItem() is not of type numeric. " > > Ok i have some very basic code which passes variables to a funtion. > i've confirmed that the value for productid is 100031. > > my code looks like this. > > #displayProductItem(q_getWhatsNew.productid,q_getWhatsNew.name,productPr > iceData,picThumbNail)# > > i keep getting the error that my value productid being passing in is not > numeric, but if i output it before the function and cfabort it i see > "productid=100031"... > > ANYONE have any idea how i can force CF to see this value as a > number????? > > jonese > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:193940 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

