Jump to content

automatically login with different password


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

Recommended Posts

I'm trying to start/close the FM database at

specified time. I'd some ideas to do it, but

I run into some problems that need to be resoved before I can proceed further.

1) I can use window task schedule to start a

FM database with a default password

specifaied in the application preference,

but then all users will use the same

default password to access the database,

i.e. just like the database without a

password at all.

Is there a way to login FM with password to FM database provided in the command line i.e.

"C:PROGRAM FILESCLARIS CORPFILEMAKER PRO 4.0FILEMAKER PRO.EXE" "%1" or enter the password automatically from the keyboard or

a file ?

2) the script can be controlled to exit FM

automatically, but how can I select the

"Ask" button when there are still some

users using the shared database on line?

Does "Status(CurrentMessageChoice)" function

work in selecting "Ask" button ?

Thanx for anybody responding too this post..

George

Link to comment
Share on other sites

You first problem can be solved by using a "launcher" file. This is a FM database with no fields, no records, a password, a default set to try the default password, and one script set as the startup script that will open your database. You open this file and it will open your target file with a password. If users open the file directly, you can disable the "try default password" option in your file. You could also create a different launcher for the users and put a copy on their desktops.

The second problem is a little tougher. The "Ask" button is not a FM script function, so you can't use a script step to access it. The standard way of managing users is to host you file using FM Server version which has specific features for this purpose.

-bd

Link to comment
Share on other sites

This topic is 7869 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
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.