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

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

Recommended Posts

Posted

I am attempting to run a script that affects two databases, so to switch between them, I am running the script generally as follows

tell application "Filemaker Pro 5.5"

tell database "filenameA"

.....

end tell

tell database "filenameB"

....

end tell

end tell

The problem is, that it doesn't pick up the two databases! It will err out when I call for it to change a cell specific to one of the databases, and I'll go to filemaker and see that it's writing to whichever one happens to be on top. I tried putting an activate step in, although I don't imagine that should matter. I also tried running a script to return the name to me, then pasting that name right back into the script, just to make sure I was spelling it right. No help. Ideas?

Posted

Instead use

tell app "FileMaker Pro"

[what ever you want] of database "A"

[something else] of database "B"

end tell

Dj

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