I have a form with an approval field. I need to lock the form so it can not be edited once it has been approved. I am clueless. The few things I have tried don't work and I don't think I am on the right track. Can someone help?
you will need to put the Code into the ONcurrent Event
them If approval feild Ture then allowedit = False
Private Sub Form_Current()
If Me.approval = True Then
Me.AllowEdits = False
'Me.AllowEdits = Not Me.approval
hope this help
See clear as mud
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Progaming environment: Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010 VB based on my own environment: vb6 sp5 ASP based on my own environment: 5.6 VB-NET based on my own environment started 2007 SQL-2005 based on my own environment started 2008 MYLE YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.