winklestork Posted June 20, 2006 Posted June 20, 2006 It seems that I too often need to duplicate a layout simply to have a version with a different behavior on one or more fields. And duplicate layouts are expensive to maintain. In the simplest case, it would be nice if I could control whether a field is enabled in browse mode or not.
Vaughan Posted June 21, 2006 Posted June 21, 2006 Have you looked at Field Behaviour? Turn off entry in Briowse mode and Find mode.
winklestork Posted March 8, 2007 Author Posted March 8, 2007 I missed your response. I know about field behavior. The point is that I have to create two layouts to have a field sometimes enabled and sometimes not enabled for entry, rather than being able to control that with a script.
LaRetta Posted March 8, 2007 Posted March 8, 2007 (edited) There are ways of controlling fields directly but it would depend upon the purpose here. For instance, are there certain privilege sets which should have access and others not? Or would it depend upon the value in another field? For instance, if you can give up the ability to tab to the field, you can turn off entry via browse and attach a script directly to the field which, if certain conditions AREN'T met, will do nothing (no entry) but if the conditions are met, the button attached would be simple: Go To Field [ that field ]. You can also control access via privilege but, although I've played with that concept, I haven't used it extensively (it feels harsh to me). Usually my 'field protect' scripts provide a message and look something like: If [ 'whatever criteria not allowing entry' ] Show Custom Dialog [ "Sorry but you can't" ] Else Go To Field [ that field ] End If LaRetta :wink2: Edited March 8, 2007 by Guest Added End If (blush)
Recommended Posts
This topic is 6855 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