Results 1 to 2 of 2

Thread: Lock the field

  1. #1
    Join Date
    Sep 2005
    Posts
    313

    Unanswered: Lock the field

    Hi,

    I create the datasheet form,
    I know how to lock the field, but it lock the whole column of the field.
    I want to lock the field except the last record field only.
    Can I do that?

    eg.
    ID Field1 Field2
    1___a______b
    2___c______d
    3___z

    I want to lock the field2 except the ID=3

    Please let me know, thanks.

  2. #2
    Join Date
    Feb 2005
    Posts
    333
    You can put code in the onCurrent event that will look to see if you are on the last record. If you are then unlock the filed else lock the field.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •