DaleF Posted August 11, 2001 Posted August 11, 2001 When user selects "Cancel" during a find, how can user be directed to a different layout than the one used for the find? I tried the following, but get bumped back to Layout 1 when Cancel button is hit: Go to Layout [Layout 1] Set Error Capture [On] Enter Find Mode [Pause] Perform Find[] If ["Status(CurrentError)=1"] Go to Layout [Layout 2] Else ......... carry on with find Endif
bobsmith Posted August 11, 2001 Posted August 11, 2001 This will work for you I think Browse Mode Go to Layout [ Layout #1 ] Set Error Capture [ On ] Loop Enter Find Mode [ Pause ] Perform Find If [ Status( CurrentError) = 401 ] Show Message [ Buttons: "Modify Find", "Cancel", ""; Data: "No Records Found" ] If [ Status( CurrentMessageChoice) = 2 ] Go to Layout [ Layout #2 ] Exit Script End If End If End Loop
Recommended Posts
This topic is 8503 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 accountSign in
Already have an account? Sign in here.
Sign In Now