Jump to content

Find - Cancel


DaleF
 Share

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

Recommended Posts

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

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

This topic is 7370 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
 Share

×
×
  • Create New...

Important Information

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