Yes.
-Original Message-
From: Matthew Smith [mailto:chedders...@gmail.com]
Sent: Monday, April 05, 2010 9:10 AM
To: cf-talk
Subject: default for numeric argument
cfargument name=app_user_id type=numeric required=no default=
I am not passing it in. I am getting:
The APP_USER_ID
yep.
thanks,
eric cobb
http://www.cfgears.com
Matthew Smith wrote:
cfargument name=app_user_id type=numeric required=no default=
I am not passing it in. I am getting:
The APP_USER_ID argument passed to the check_item_quantities function is not
of type numeric.
Should I make the
Well, depends on what your data needs to be. Sometimes 0 is not the same
as no answer given. If you're allowing NULL in that data column and NULL
means something different than 0, then you will want to *not* use
default=0.
Often in those cases, I do something like the following, where I set
3 matches
Mail list logo