August 31, 2004 at 3:01 pm
I am trying to write an If statement in a view, but can't seem to get it right. Does anyone know how I can accomplish this.
Basically, I want an if statement that will see if there is a value of "x" in the field, if there is, I want it to write "Yes", otherwise I want it to write "No".
Any help would be appreciated.
Thanks
Michelle
August 31, 2004 at 3:51 pm
check out the case statement
CASE
August 31, 2004 at 3:53 pm
one more time rocky:
CASE WHEN colname = "X" THEN "Yes" ELSE "No" END as newcolname
BTW: do you have infinite jest and excellent fancee?
September 2, 2004 at 6:41 am
Thank you for your help. I'll definitely give this a shot.
Michelle
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy