I know I've used Val() like that before, but I don't make a habit of doing it in every app I write. IMHO, it's probably a personal preference one way or the other, based on what your other code is already doing for you in terms of formatting data, etc.
Nolan Erck Web Developer/Programmer Schools Financial Credit Union (916) 569-5409 Office (916) 569-2024 Fax www.schools.org -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Friday, June 23, 2006 12:29 PM To: [email protected] Subject: Re: [CFCDev] Need Help with Arguments in CFCs > 4. and this has nothing to do with your question, but you should > probably change this line: > > <cfset qProductsByFormat = ""> > > to be like so: > > <cfset var qProductsByFormat = ""> > > ...var scoping your local queries will prevent various other issues from > happening with the CFC later, that will be difficult to debug. That was my intention in declaring that variable, only I forgot to include the var scope... thanks for bringing that to my attention! Darin was right, the empty url variable was passing in a null string, which is not numeric. The val() function he suggested works, but I am wondering if this is a conventional practice? Thanks, Aaron ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] The information contained in this e-mail is confidential and may contain privileged information exempt from disclosure under applicable law. The information is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, employee, or agent responsible to deliver it to the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please delete the message from your computer and immediately notify the sender by telephone (you may call collect) at 916-569-5400 or by e-mail to [EMAIL PROTECTED] Thank you. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
