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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sasan3@gmail.com

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



    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

  • Allen Browne

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

    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.

    <sasan3@gmail.c om> wrote in message
    news:1131935789 .913901.236930@ g47g2000cwa.goo glegroups.com.. .[color=blue]
    >
    > 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?[/color]


    Comment

    Working...