Miltomatic Posted May 21, 2012 Posted May 21, 2012 Hi everyone I have three fields which are set not to allow data entry in browse mode. Occasionally I need to be able to edit these fields, so I have to switch to layout mode, select the fields, check them to allow data entry, go back to browse mode, make the changes, back to layout, change back to disallow data editing, back to browse mode. It's all a bit of a hassle. Is there a way this can be scripted? Many thanks Milt
No_access Posted May 21, 2012 Posted May 21, 2012 Their are a bunch of ways to do this, here are 3 really simple ones. I recommend #2 1) simply use a custom dialog box to pop up and fill them in. 2) you can use validate by calculation to keep the field locked, this requires a extra field thats not on the layout to use as the "lock" field and you can use "not isempty(lockfield)" as the validation. use a script to toggle the lockfield.. 3) you can use a script trigger so that only someone with certain permissions can edit the field hope this helps
Lee Smith Posted May 21, 2012 Posted May 21, 2012 Auto Entry might also be an option I would use. You can change the allow entry by selecting/deselecting the check box "Do not replace existing values (if any)" p.s Why is this in Scripts instead of Calculations?
No_access Posted May 21, 2012 Posted May 21, 2012 In my app I have to press a button anyway, I guess it's whatever someone preferes.. :frantics:
Miltomatic Posted May 22, 2012 Author Posted May 22, 2012 Thanks for your suggestions - a good help. Regards Milt.
Recommended Posts
This topic is 4568 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