Jump to content
Sign in to follow this  

Find - Cancel

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]


......... carry on with find


Share this post

Link to post
Share on other sites

This will work for you I think

Browse Mode

Go to Layout [ Layout #1 ]

Set Error Capture [ On ]


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

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
  • Create New...

Important Information

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