LOL! Good stuff. But said Rogue developer may have sabotaged the java
installation as well...

We may have to take a risk and just stick with the other 7 ways of
validating whether or not qry.record is 0 or something other than...

-----Original Message-----
From: Aaron Rouse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 04, 2006 9:14 AM
To: CF-Talk
Subject: Re: CFIF Statement

Oh, I am sure with a little Java we could somehow check for existance of CF
tags which brings up a good point, what if some rogue developer somehow
removed tags from the language  ;)

On 10/4/06, Bobby Hartsfield <[EMAIL PROTECTED]> wrote:
>
> HA! Maybe it was a bad install too so how can we check for the existance
> of
> <cfif>? hmmmm
>
> -----Original Message-----
> From: Aaron Rouse [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 03, 2006 11:16 PM
> To: CF-Talk
> Subject: Re: CFIF Statement
>
> Are you insane?  I am just supposed to assume that getitem exists and that
> it is a query and that itemvalue is a column name within it?  Sorry but
> that
> is just bad coding right there, you are not checking for the proper
> existance of things and lets not even get started on the fact you are
> treating a record count on a query like a boolean.
>
> On 10/3/06, Claude Schneegans <[EMAIL PROTECTED]> wrote:
> >
> > >>The reason is sometimes we want default values on a create screen.
> >
> > Easy, then just use
> > <CFIF getItem.recordCount>
> >     VALUE="#getItem.itemValue#"
> > <CFELSE>
> >     VALUE="some default">
> >
> > Back on subject, ah ah! ;-)
> >
> > --
> > _______________________________________
> > REUSE CODE! Use custom tags;
> > See http://www.contentbox.com/claude/customtags/tagstore.cfm
> > (Please send any spam to this address: [EMAIL PROTECTED])
> > Thanks.
> >
> >
> >
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255422
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to