I'm not familiar with the syntax or exactly how CASE statements work. Hoping someone can guide me in the right direction. For my example I'm working in a datapage and want to create a field that says if a field = DROPSHIP to have the value be YES, if not then have the value be NO.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Joemac
I'm not familiar with the syntax or exactly how CASE statements work. Hoping someone can guide me in the right direction. For my example I'm working in a datapage and want to create a field that says if a field = DROPSHIP to have the value be YES, if not then have the value be NO.
Here is what I have:
CASE
WHEN [tbl_drops_scf_pos]="DROPSHIP"
THEN No
ELSE Yes
END
Thanks for your help!
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.