RE: Wuick question: if odd/if even-1 more time!

2002-12-12 Thread webguy
Maybe, #ListGetAt(year,2,"-")# ?? Might need to double check its a number. trim(), Val() etc WG > -Original Message- > From: Janine Jakim [mailto:[EMAIL PROTECTED]] > Sent: 12 December 2002 18:10 > To: CF-Talk > Subject: RE: Wuick question: if odd/if even-1 m

Re: Wuick question: if odd/if even-1 more time!

2002-12-12 Thread Clint Tredway
Try this: if (listlast(year) mod 2) year even else year odd - Original Message - From: "Janine Jakim" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, December 12, 2002 12:09 PM Subject: RE: Wuick question: if odd/if even-1 more ti

RE: Wuick question: if odd/if even-1 more time!

2002-12-12 Thread Everett, Al
If the format is always that way, then you can treat it as a list: > -Original Message- > From: Janine Jakim [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 1:10 PM > To: CF-Talk > Subject: RE: Wuick question: if odd/if even-1 more tim

RE: Wuick question: if odd/if even-1 more time!

2002-12-12 Thread Janine Jakim
EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 8:44 AM To: CF-Talk Subject: RE: Wuick question: if odd/if even yeap, here u go if (year mod 2) year even else year odd you can use IIF like this too, but the above is easier to read... WG > -Original Message- > From:

RE: Wuick question: if odd/if even

2002-12-12 Thread Janine Jakim
Thanks- I knew it was super easy -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 8:38 AM To: CF-Talk Subject: RE: Wuick question: if odd/if even ODDEVEN -Original Message- From: Janine Jakim [mailto:[EMAIL PROTECTED]] Sent: 12

RE: Wuick question: if odd/if even

2002-12-12 Thread webguy
yeap, here u go if (year mod 2) year even else year odd you can use IIF like this too, but the above is easier to read... WG > -Original Message- > From: Janine Jakim [mailto:[EMAIL PROTECTED]] > Sent: 12 December 2002 13:32 > To: CF-Talk > Subject: Wui

RE: Wuick question: if odd/if even

2002-12-12 Thread Pascal Peters
-Original Message- From: Janine Jakim [mailto:[EMAIL PROTECTED]] Sent: donderdag 12 december 2002 14:32 To: CF-Talk Subject: Wuick question: if odd/if even I Know this is easyIwant a different background depending on the year chosen by the user- basically if it ends as an odd

RE: Wuick question: if odd/if even

2002-12-12 Thread Craig Dudley
ODDEVEN -Original Message- From: Janine Jakim [mailto:[EMAIL PROTECTED]] Sent: 12 December 2002 13:32 To: CF-Talk Subject: Wuick question: if odd/if even I Know this is easyIwant a different background depending on the year chosen by the user- basically if it ends as an odd number

Wuick question: if odd/if even

2002-12-12 Thread Janine Jakim
I Know this is easyIwant a different background depending on the year chosen by the user- basically if it ends as an odd number make background blue if year ends with even number make background green. Is there a better way than saying http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4