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

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

Recommended Posts

Posted

I may be in the wrong topic forum here. This database is used by "Users" who add new records to the database each day. At the end of the day I want to lock those records so they can't be modified by the "User" the following day. There is an "Admin" login (Username: Admin, Password:Admin) for full access to all records, and a "User" login (Username:User, Password:User), which should allow new records to be added but old records can't be modified. To do this, I've created a "Lock" field that defaults to 1 with each new record. At the end of the day, the Admin changes all the lock fields to a 0 using a script (see script). Then the custom privileges for "User" is suppose to be set such that "if lock = 0" then access to those records is denied. I can't seem to get that to work properly. Any help here would be much appreciated.

Full Access - Username:Admin, Password:Admin

Limited Access - Username:User, Password:User

LockingRecords.fp7.zip

Posted

I would probably say to reverse it where the 1 is the lock and if its locked then prohibit modification of the record.

LockingRecords_Mod.zip

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