You can set up a launch file which will start FMP and open, via a script, the real file you want to access, then close itself. In the launch file you need to specify the file(s) you want the script to open under External Data Sources. Once you have done that your script can simply call the startup script in the external file, then close itself. This launch file can then be installed and configured once (ie. set the EDS) on any computer that will be accessing the database.
Why don't you open the database using a hyperlink?
The syntax has changed from FM11 to FM12. But the procedure is the same.
In your database, select Send --> Link to Database
Copy the link.
if you are on a windows computer, right click on the desktop and select New -> shortcut and paste in the link.
If you are on a Mac,
drag the link on your deskop
We'll try that. Still can't understand why one day this works fine (it's been working fine for years!!) and now it doesn't. Something's screwed up.
@keywords: That's precisely what I've been doing. For, oh about upteen years now. That's what's not wokring anymore. Every time the launch file is run all i get is the FMP Open FIle dialog.
I tried using the URL link and it does the same thing. No matter what I tell FileMaker to open, is ALWAYS opens the Open File Dialog first.
AHA! Debugged this and found the culprit. If you have Typinator installed, then you get this behavior. This is definately strange, and I've sent a query to the developer.