Jump to content
  • 0

CASE statments


Joemac

Question

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...