Jump to content

Opening a file


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

Recommended Posts

  • Newbies

In FileMaker 5 I could use "Open....file name" in a script to open another FileMaker file.

In FileMaker 7, when I use "Open file....file name" in a script, I get the desired file, UNLESS the file is already open. How do I prevent this cloning of the file, and just "go to" the file if it is already open?

Thanks,

Jim

Link to comment
Share on other sites

Instead of using Open, use the Perform Script step to run a script in the desired file that explicitly goes to the desired layout, sets the window size etc.

Link to comment
Share on other sites

  • Newbies

Vaughan,

Well, this is weird. I had been doing as you suggested, i.e. in a button was the perform script command, executing the command: "Open file ["Volunteers"]. And the result was alway a clone when the file was already open, i.e. Volunteer 2, Volunteers 3, etc.

But I just tried it again and I get the same results I used to get in FileMaker 5, i.e. it opens once and has no effect if it is already open.

Very strange.

Link to comment
Share on other sites

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