Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controlled Access Form

Status
Not open for further replies.

Pamy

MIS
Oct 15, 2002
29
SG
I would like to know how can i restrict certain user from editing the form. For eg, if the form status = "closed", only the Manager access is allowed to edit. If the form status = "open", everybody can edit. This is what i have written for the access formula but it doesn't work.

Type : computed
Formula : @if( status = "closed"; "manager";role)

* role: i have a computed text to indicate the type of access the user is holding.

please advise.
 
Why not just use the Access Control List? Assign Editor to the people who need to be able to Edit, and Author to those who don't get to Edit.

There are also ways to subdivide the groups into Roles through the ACL, then you can use:

!@Contains(@UserRoles;"[Supervisor]")

to limit which Roles can see and do various tasks within your database.

Good Luck! Leslie
landrews@metrocourt.state.nm.us

SELECT * FROM USERS WHERE CLUE > 0
No Rows Returned
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top