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

error "FileMaker Pro got an error: The event failed." number -10000


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

Recommended Posts

  • Newbies
Posted

We recently upgraded our FM server from 11 to 14. I have an Applescript that I moved from a 10.8 mac to a 10.10 mac. The client is FM14. It has some odd behavior that I had to deal with, but one step Im stuck at.

I have a simple step that checks if there are records in the database and if there are it deletes them.

show database "databasename"
delay 1
if (count of every record) ≠ 0 then delete every record

 

The apple script fails with the above error:

error "FileMaker Pro got an error: The event failed." number -10000

and it highlights the "delete every record" part.

I've tried various ways of changing this line, but the script seems to fail on the delete command.

Could it be that the Applescipt isnt recognizing the Filemaker dictionary properly? I can open the dictionary and even looked up the delete command. It just wont take.

 

Any suggestions?

 

Thanks!

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