By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,665 Members | 2,187 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,665 IT Pros & Developers. It's quick & easy.

gray-out and lock one subform record among many in datasheet view... HOW?

P: n/a


Well, I have the lock part figured out.. but how do I gray-out or put
in some type of visual effect that indicated that the row in the
subform is locked?

Thanks.

Si

Nov 14 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You can kinda fudge it with conditional formatting on each control, setting
its ForeColor or BackColor so it appears greyed out.

As simpler and more efficient visual indicator might be a text box that
shows a little lock symbol to the left of the locked items. For example, if
wanted to lock all records where the DateEntered field is more than 30 days
ago, you would give the text box these properties:
Control Source: =(DateEntered < Date() - 30)
Font Name: Webdings
Then put 3 characters into the Format property:
semicolon (;)
backslash (\)
hold down the Alt key, and type 0207 on numeric keypad.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<sa****@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...

Well, I have the lock part figured out.. but how do I gray-out or put
in some type of visual effect that indicated that the row in the
subform is locked?

Nov 14 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.