Lock fields

  • Thread starter Thread starter Bessie Sanders
  • Start date Start date
B

Bessie Sanders

Hello,

I have a problem with one of my form. I like to know how
do you lock a field. I have time stamp from the computer
when staff login with their name and password and go to
the next field time in the time automatic stamp. I want
to find away to prevent anyone to change the time.

I have a event procedure:

Private Sub TimeIn_Enter()
TimeIN = Time ()
end sub

how can i lock this field?

Thank you in advance

Bessie
 
If it's completely behind-the-scenes, keep it hidden
(Visible=False). If you want them to see it, most
controls have a Locked property - set it to Yes and they
can't be manually changed.

Hope this helps!

Howard Brody
 
Check out the property list for the form. There is a
Record Lock property that you can set. Also there are
properties for Allow Edits, Deletions, and Additions that
can be disabled

Hope this helps
 
Back
Top