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

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

Recommended Posts

Posted

Hi Guys,

Is there a way to tell FileMaker on an opening script to look into a specific folder for a file. I have two databases in my studio one in a folder called Local and another on the network(both have exactly the same databases within the folder but different data).

When a local user opens up filemaker, I want to create a shortcut that will open up my startup database from my local folder. However when a network user logs in, they will need to access only the network files. Can this be done with FM6.

Cheers

Jalz

Posted

You need to provide each user with a "Trigger File". A file whose purpose is to initiate a log-in script. The script in this file will be set to activate upon opening in the document's perferences.

Try creating a separate password for "Local" users and "Network" users and separate groups for each to belong to within the Trigger file.

Then create a script with an If statement based on the current group;

If (Status(CurrentGroup) = Local

Open (Local File) Unclick save relative path only

If (Status(CurrentGroup) = Network

Open (Network File) Unclick save relative path only

I would feel a lot better about this if the databases had unique names and not just separate folders in different locations, but I have a feeling based on your question that they don't.

Phil

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