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

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

Recommended Posts

Posted

Is there a way to make a script run auto everytime you open a layout...

I know there is an easy way by putting the script on the script that opens tha layout... but there are so many different way to the same layout I thought there might be another way...

Example:

I have a script that will check certain boxes when a certain user has opened the layout... and when other users open the same layout nothing is checked.

Need like a auto run of a script.

Thank you,

Joseph

Posted

I don't think that will do it.

There isn't anyway to run a script using FileMaker's built in capabilities just because a user changes layouts via the Rolodex. The only way that I can think of is to script the movement from layout to layout via a button, or ScriptMaker's Dropped Down list (Key Combinations)). Perhaps one of the Event Plugins can do this, but I'm don't think so.

HTH

Lee

Posted

I agree... But the thing is there is about 20 different ways to go to this layout...

Really do not know what to do..

All I want to do is hide a profit field from others but I can still see it...

Maybe that is what I should have asked to began with.

Thank you

Posted

MMM... I will try that also... But what happends when they need to go to the layout that has a field that I do not want them to see...

My plan was to make a portal that sits over these fields and when the correct users goes to this page the portal disapears... I have done these kind of things before..

Is this the best way?

Posted

There are ways to control what user has access to based on their privileges. Do a search of Location: [color:orange]Main Index[color:blue] » Forum Index[color:blue] » Database Schema [color:blue] » Accounts & Privileges for limiting access.

My father in law is about to pass away any minute now, so I can't really help you with the how to's or even the find to try right now. Others I'm sure will jump in to help with your questions if you have any more.

Lee

Posted

In my application I removed access to all layouts from the "rolodex" and used my own scripts to perform ALL navigation steps.

Call me a "control freak" if you want, but it works well.

Posted

The best way to control field access is through Account setup, like Lee suggested. Go in, create a new priv. set and you will be able to customize access to tables, layouts, scripts, etc. If you choose to customize table access, you will be taken to an area where you can assign field-level access (or the lack there-of, as in your case.) Your other option would be to create multiple layouts and leave the "private" fields off of one and only allow certain users access to that layout (but again, done through Accounts). Your other users, who can see the fields, will go to the "full disclosure" layout. I'm sure there are other ways but FM7 has a good security system and I utilize it as much as possible. With field-level access controlled through Accounts, it doesn't matter how a user accesses the layout. Hope this helps.

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