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

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

Recommended Posts

Posted

I have a FIND script that works, but I just want to be able to bypass FileMakers own dialogue box that shows up when no records are found (No records match this request / Cancel / Continue / Modify Find). I want the script to show my own personal message and options when no records are found. Right now, it's showing both dialogue boxes...first FileMakers, then mine. I'm sure it's simple, but I'm just not seeing it. The script I have right now is as follows...

Enter Find Mode[]

Set Field ["FollowUpNeeded", ""No""]

Omit Record

Perform Find [Replace Found Set]

Got to Layout ["Conversation Summary"]

If ["Status(CurrentFoundCount) = 0]

Show Message ["There are NO outstanding "To Do" items!"]

Show All Records

Open [New Customer Entry.fp5 (*)"]

End If

Version: v6.x

Platform: Mac OS X Panther confused.gif

Posted

HonkyCat, use Set Error Capture [On] at the beginning of the find. This will suppress FileMaker dialogs. Omit record in the middle of your find? Not sure why but if it works, that's great.

Posted

MoonShadow, thank you so much, it worked!! A relief to my mind! smile.gif By the way, I put the omit record in because I have a check box for people to mark either "yes or no" if someone needs to follow up on a phone call. Sometimes, however, people get busy and forget to mark anything at all. So I had the script find the "no's" and omit them...that way all phone calls marked yes or not marked at all will show up. That way those calls don't get forgotten about.

Thanks again!

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