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
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
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
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:
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
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
-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
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
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
9 matches
Mail list logo