RE: CFQueryparam and NULLs.
I always use: null="#NOT len(trim(form.whatever))#" as that catches everything. Dave -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 9:55 AM To: CF-Talk Subject: RE: CFQueryparam and NULLs. If FORM.makeID is either zero or a number: Maybe throw in a Trim in the null="" too. Adrian ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310367 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFQueryparam and NULLs.
Here is how I do it. IsNull is a function I wrote to check if the value is blank. -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 7:47 AM To: CF-Talk Subject: CFQueryparam and NULLs. Quick question: How I would I rewrite this using the built in NULL feature to cfqueryparam? You don't use YesNoFormat with integers, correct? null Thanks, Che ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310366 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFQueryparam and NULLs.
If FORM.makeID is either zero or a number: Maybe throw in a Trim in the null="" too. Adrian -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: 07 August 2008 15:47 To: CF-Talk Subject: CFQueryparam and NULLs. Quick question: How I would I rewrite this using the built in NULL feature to cfqueryparam? You don't use YesNoFormat with integers, correct? null Thanks, Che ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310365 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4