Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Locking Access database after form has been entered

Status
Not open for further replies.

aloo

IS-IT--Management
May 27, 2002
16
0
0
AU
Using Microsoft access for timesheet entry. Is there a way of locking old forms/reports and having the current date onwards only being active?
 
You could try closing/locking fields <> null

something like:
Private Sub Form_Current()
if not isnull(Me!YourField) then
Me!YourField.enabled=false
Me!YourField.locked=true
else
etc.
end if
end sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top