Jump to content
Sign in to follow this  
gaby78

Problem with Validation expression

Recommended Posts

I have 2 fields: Vendor and TicketNbr

The rule is: if Vendor is “PBS” the user must enter a TicketNbr, If vendor is not “PBS” a TicketNbr is optional.

I tried Case (Vendor = “PBS”; Not IsEmpty(TicketNbr)) but it keeps requiring a TicketNbr regardless of what is entered in Vendor. I tried various combinations with Case( ) and If ( ) etc…but nothing worked.

Share this post


Link to post
Share on other sites

Try Case (Vendor = “PBS”; 0; 1 )

Share this post


Link to post
Share on other sites

Hello Mr. Vodka and David:

Thanks for trying to help. I tried both expressions but didn't work. It does not validate; If you enter PBS as Vendor it allows you to move on without entering anything in TicketNbr.

Share this post


Link to post
Share on other sites

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
Reply to this topic...

×   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.

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    Matt Cudmore 
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.