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

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

Recommended Posts

Posted

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

Posted

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

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 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.