Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Copper Super Contributor
MattRobillard
Posts: 71
Country: Canada
Message 1 of 2 (207 Views)

Make Field disabled or read only for one particular company record

Hello Everyone,

 

I want to be able to make a particular field readonly or disabled so that a user cannot modify the contents of that field for that one particular company but not the rest, What i have so far is code that runs when you get to that particular company I am just not sure how to change the field to readonly or disabled in visual basic.

Please use plain text.
Employee
mwood
Posts: 1,163
Country: USA
Message 2 of 2 (203 Views)

Re: Make Field disabled or read only for one particular company record

I'm not aware of any way to specifically disable or make the field read-only for a single company.

 

It's sort of a work around, but you could monitor the field for changes via the FieldChanged/Changing events, if the field that is being changed is the one you dont' want to be, at that point you could prompt the user with a message box and set the value of the field to the desired value.

 

This was pretty off-the-cuff, there may be a better solution.

Matthew Wood
Act! SDK Support
Community Moderator
Please use plain text.