iif driving me nuts

2002-06-12 Thread Joshua Tipton

Please help me with this or can you guys and gals tell me a better way to
code this.  Of course the phrases will be changed but this will give you the
basic concept.

Josh

#iif((qryquicklinks.recordcount gte 8), DE(onClick='alert(Sorry, you
suck)';), DE(onClick='alert(You Deleted Me)';))#

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: iif driving me nuts

2002-06-12 Thread Patric Stumpe

Hi Joshua,

you could also use a simple (perhaps faster cfif-statement like this:

onClick='alert(cfif qryquicklinks GTE 8Sorry, you suckcfelseYou Deleted 
Me/cfif)';

Does this help?

Patric


JT Please help me with this or can you guys and gals tell me a better way to
JT code this.  Of course the phrases will be changed but this will give you the
JT basic concept.

JT Josh

JT #iif((qryquicklinks.recordcount gte 8), DE(onClick='alert(Sorry, you
JT suck)';), DE(onClick='alert(You Deleted Me)';))#

JT 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: iif driving me nuts

2002-06-12 Thread Joshua Tipton

I fill like a nimrod I am going home I am tired.

Josh

-Original Message-
From: Patric Stumpe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 11:42 AM
To: CF-Talk
Subject: Re: iif driving me nuts


Hi Joshua,

you could also use a simple (perhaps faster cfif-statement like this:

onClick='alert(cfif qryquicklinks GTE 8Sorry, you suckcfelseYou Deleted
Me/cfif)';

Does this help?

Patric


JT Please help me with this or can you guys and gals tell me a better way
to
JT code this.  Of course the phrases will be changed but this will give you
the
JT basic concept.

JT Josh

JT #iif((qryquicklinks.recordcount gte 8), DE(onClick='alert(Sorry, you
JT suck)';), DE(onClick='alert(You Deleted Me)';))#

JT

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists