Rich S Posted January 6, 2008 Posted January 6, 2008 Here's a toughy: Is there a way of changing the behavior of a field via a script? My goal is to prevent a user from changing a field's contents--that's inside a portal--when the record is scripted to "lock." Because of the structure of the runtime, going the Permissions and Privileges route isn't an option. The nominal way to change the behavior of a field is to go into Layout mode, select the field, go to Field Control-> Behavior-> then uncheck the Browse and Find mode permissions in the windoid. If I could do that, via a script while in Browse mode, then I'd be one happy camper. TIA for your help! Rich
Søren Dyhr Posted January 6, 2008 Posted January 6, 2008 Not that it answers your demand to be able to script the matter directly, is although the flipping of state could be scripted, whould you investigate this: http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000761 Another appoach is this: http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000604 --sd
Rich S Posted January 7, 2008 Author Posted January 7, 2008 MANY thanks, Søren! Bob Stuart's solution is just what I need. Remind me to put you on my Christmas card list. :)
Recommended Posts
This topic is 6166 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