Jump to content

FIND script


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

Recommended Posts

Hi! I have a layout for performing finds that looks identical to the entry layout except no pull-downs and no functional buttons. My Find script takes users to the find layout, enters Find and pauses. User enters criteria, resumes script with a button and user is returned to entry layout. If no found set, I have a mssg and user goes back to entry layout. However, the native FM mssg for no found set allows a "Cancel" which leaves users on a mostly non-functional layout. How do I bypass the native FM mssg? Or get rid of the "Cancel"? Modify find and Continue are okay.

Link to comment
Share on other sites

If you set error capture on at the start of your script that will stop the standard message coming up

You can use then use the Get(FoundCount) function immediately after your find

If Get(FoundCount)=0

Show custom message

Go to appropriate layout for no found set

Endif

HTH

Phil

Link to comment
Share on other sites

This topic is 5691 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.