Redbeard Posted September 24, 2002 Posted September 24, 2002 I want to lock records based on a field that is a binary checkbox (invoice sent;1,0). This is easy enough; now the wrinkle. I want to be able to quickly get into a mode where I can still edit the records without logging out/back in with a higher level password. I have played with creating a separate database that holds an "access toggle" but can't seem to come up with a calculation for the permissions that; 1) disallows editing of record when invoice sent=1 2) allows override of this when access toggle=1 Anyone have an idea?
CobaltSky Posted September 25, 2002 Posted September 25, 2002 You haven't said, but I assume that your permissions (or validation) calculation formulae are set to "not InvoiceSent" - or something similar - at present, in order to prevent modification of records once the 'sent' checkbox is checked. If that is the case, you could activate the toggle field idea you are contemplating, by changing the permissions (or validation) calculation formulae to: "InvoiceSent - Toggle < 1". Alternatively for a quite different approach, you could use a permissions formula of "Case(Status(CurrentModifierKeys) = 4 or Status(CurrentModifierKeys) = 6, 1, InvoiceSent, 0, 1) ". The effect of this would be that you would not need a toggle field. Instead, to make a change after the invoice is sent you would have to hold down the control key while clicking into the record to edit it (ie the control key would act as a temporary over-ride for the permissions). There are numerous other possibilities - and which is most appropriate is a matter for your judgement - but hopefully the above suggestions will give you some ideas to work with.
Redbeard Posted September 25, 2002 Author Posted September 25, 2002 Thanks, that approach (modifier key) looks interesting. I'll have to give it a try. John
Redbeard Posted September 26, 2002 Author Posted September 26, 2002 Worked great, thanks. Much better than my "Toggle" solution. John
Recommended Posts
This topic is 8094 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 accountSign in
Already have an account? Sign in here.
Sign In Now