March 26, 201312 yr 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
March 26, 201312 yr 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
Create an account or sign in to comment