Jump to content

Rebuild an index?


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

Recommended Posts

I've written several AppleScripts that work with Filemaker databases. The scripts usually involve searching database files for records and if not found will insert records into multiple tables.

I've noticed that sometimes, I have to perform a search manually in FileMaker and then select show all to get my script to work properly. Otherwise the script search seems to find a match to the first record in the database.

I'm guessing that somehow when I manually perform the search, that Filemaker refreshes the index on the [primary key] search field.

Is there a way that I can have AppleScript tell FileMaker to re-index fields? I'm thinking this would make sure that the search that would follow it would always work accurately.

Thanks,

Jack

Link to comment
Share on other sites

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