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

A way to avoid "no matching records dialog?"


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

Recommended Posts

Posted

Hello

I am using a script in a related file to do a find. I was wondering if there is a way to set a script to bypass the "no matching records found dialog box" and just place that very text

" No records found" in a field by itself without having to go through the "okay" proceedure of the dialog box which is what I am trying to avoid.

Thanks

Hart

Posted

The no records found dialog is actually just an error message. So...

Set Error Capture [on]

Perform Find

Set Error Capture [off]

if status(currentfoundcount) = 0

setfield [gMessage,"No records found"]

end if

Jeff

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