Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4259 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi All,

If then Statements are not my strong point. If anyone could point me in the right direction I would appriciate it.

 

I have a script that looks to see if the person has already left his information at the desk.

 

If so, when he checks out the clerks get a custom dialog box reminding them to send the customer to the other desk.

 

Currently, if I click either "Ok" or "Cancel" it continues on with the script. I would like when the "Ok" button is clicked the script continues, if I click the "cancel" button it returns to the original layout.

 

Below is my current script.

 

Thanks everyone...MG

+++++++++++++++++++++++++++++++++++++++++++

If [customer::ccInVault="Yes"]

 
   Show Custom Dialog ["Credit Card on File"; "This person has vaulted there card."]


   If (Get(LastMessageChoice) = 1)

        Go To Layout ["Reports Menu"(Catalog)]

   Else

       If [Get (LastMessageChoice) =2]

          Go to Layout ["Bidder Menu" (Bidders)]

 

        End If

     End If

End If

Posted

Hi MG, try it like this:

If [customer::ccInVault="Yes"]

Show Custom Dialog ["Credit Card on File"; "This person has vaulted there card."]

If (Get(LastMessageChoice) = 1)

Go To Layout ["Reports Menu"(Catalog)]

Else

Go to Layout ["Bidder Menu" (Bidders)]

End If

.... Do anything here if the ccInVault does NOT equal 'yes'

End If

This topic is 4259 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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