DaleF Posted August 11, 2001 Share 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 Link to comment Share on other sites More sharing options...
Addam Posted August 11, 2001 Share Posted August 11, 2001 Take a look at the Database I sent you... Link to comment Share on other sites More sharing options...
bobsmith Posted August 11, 2001 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8315 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