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

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

Recommended Posts

Posted

Is there some way that I can get the status of the omit checkbox of a find request?

I know that if I am in find mode, the contents of the fields are the find criteria. I would like to be able to access whether the omit box has been checked also.

Posted

I don't know of any way of statusing the omit box. Chances are if you change how you are scripting whatever you're doing, you won't need to. How about having the user click a global field check box for omit and then set omit for real in your script?

-bd

Posted

I just happened to find this yesterday while I was fooling around. You can query the omit status with applescript. It goes like this:

code:


tell app "Filemaker Pro"

set IsOmitted to omitted of request 1

if IsOmitted

set cell "gOmitted" of current record to "1"

else

set cell "gOmitted" of current record to "0"

end if

end tell


This will set a global field gOmitted to 1 if it is an omit request, and 0 if it's a normal request. You will have to cycle through all requests to get the omit status for each.

This doesn't mean I recommend doing it this way, but you did ask. smile.gif

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