January 6, 200818 yr 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
January 6, 200818 yr 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
January 7, 200818 yr Author MANY thanks, Søren! Bob Stuart's solution is just what I need. Remind me to put you on my Christmas card list. :)
Create an account or sign in to comment