Jump to content

Possible to use wildcards in show statement?


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

Recommended Posts

  • Newbies

Happy to find forum. I am using FM 4.1 & have a large but simple flat db. Would really prefer to use the show statement within Applescript to make this find:

show every record whose cell 4 = "apples" or cell 4 = "oranges" and cell 1 = " (what I need is the equivalent of !, the duplicate wildcard) "

My question: can this be done?

Link to comment
Share on other sites

Try using this format:

code:


tell application "FileMaker Pro"

delete every request

create request

set cell 4 of request 1 to "apples"

create request

set cell 4 of request 2 to "oranges"

set cell 1 of request 1 to "!"

set cell 1 of request 2 to "!"

find

end tell


A word of advice: using the duplicates symbol in conjunction with other find criteria produces interesting results, so try your search within Filemaker to make sure that you are getting what you really want before putting it into an applescript.

Link to comment
Share on other sites

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