Pages

Monday, November 4, 2013

Stop users from copying the text in your Access fields (2003/2007)

As you know, you can set a form field's Locked property to Yes to prevent users from changing the underlying data. However, users are still able to select and copy data from the field, and you may not always want this to be the case. The solution is to also set the field's Enabled property to No. Ordinarily, setting the Enabled property in Access this way causes the field and its associated label to be difficult to read. However, when you set the Enabled property to No and the Locked property to Yes, the fields and labels look exactly as they do when they're enabled for normal entry. The difference is that users will be unable to select or copy any of the displayed data.


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.