Jump to content

user access script


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

Recommended Posts

Can I create a scrpit that will automatically open a certin user to a certin layout?

For example: If I am "bob" and I am a accounting guy, when I logon to my database it will bring my to the accounting layout.

If so how would this script read?

Thanks,

RET

Link to comment
Share on other sites

This would work but would require a long script to ID all users if you have many users. I would suggest using passwords and using the

Status ( CurrentGroups ) script step so all accounting dudes would go to one layout and all personnel would go to another.

Link to comment
Share on other sites

  • 2 weeks later...

To accomplish what you want, you need to follow the following steps:

1) create the passwords/groups in file/permissions

2) create a script as follows:

if( status(currentgroups) = "user1")

Go to Layout (layout for user1)

end if

if( status(currentgroups) = "user2")

Go to Layout (layout for user2)

end if

.

.

.

3) designate that script as a startup script by going to edit/preferences/document.

and voila, it should work. The Filemaker Pro User's manual has great information on how to set up permissions.

~Ati, jedi master

The force will be with you, always. tongue.gif" border="0

Link to comment
Share on other sites

  • 1 year later...

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