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

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

Recommended Posts

Posted

Folks,

I've got a problem that I'm hoping someone else has run across with AppleScript and FileMaker 6.

When having a table that contains a field called state which contains values like "Virginia" and "West Virginia", doing whose cell "State" = "Virginia", i.e.

set recordSet to (every record of database "states" whose cell "State Name" = "Virginia" or cell "Variant Region Name" = "Virginia") as list

returns both the Virginia and West Virginia record.

I tried =, is, and equals (is equal to). All return the same result.

Does anyone know how to force FileMaker to do an actual equals and not a contains when selecting records from a FileMaker database with AppleScript?

Thanks,

Jack

Posted

It's not a perfect solution, but you could do something like this:

set recordSet to (every record of database "states" whose cell "State Name" = "Virginia" and cell "State Name" does not contain "West")

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