G
Guest
Here is the open event:
Private Sub Form_Open(Cancel As Integer)
On Error GoTo ER
'Reset the mode
Mode_AI = "v"
'Set the focus to the first field
Me![Received Date].SetFocus
'Reset the buttons on the form
Forms![Assignment Information].[Cancel Button].Enabled = True
Forms![Assignment Information].[Save Button].Enabled = False
Exit Sub
ER:
MsgBox Err.Description, , "Form_Open"
End Sub
I put msgbox statements after every statement.
After the 'Mode_AI = "v"' line runs the Activate event fires
Does this mean the DB is corrupted?
Private Sub Form_Open(Cancel As Integer)
On Error GoTo ER
'Reset the mode
Mode_AI = "v"
'Set the focus to the first field
Me![Received Date].SetFocus
'Reset the buttons on the form
Forms![Assignment Information].[Cancel Button].Enabled = True
Forms![Assignment Information].[Save Button].Enabled = False
Exit Sub
ER:
MsgBox Err.Description, , "Form_Open"
End Sub
I put msgbox statements after every statement.
After the 'Mode_AI = "v"' line runs the Activate event fires
Does this mean the DB is corrupted?