P
PHisaw
Hi,
I have the following code on main form:
Private Sub Form_Unload(Cancel As Integer)
If Not IsNull(Me.fStatusSubform.Form.[PartsOnOrder]) And
IsNull(Me.fStatusSubform.Form.[ExpectedPartsRecdDate]) Then
Cancel = True
MsgBox "Parts Expected Date Is Required!!"
Exit Sub
End If
End Sub
When there is no date in ExpectedParts, the message pops up and then another
message Close action was cancelled. That is all fine. But if user, tries to
close again, the msgbox message appears and then another message box with
following:
"The Microsoft Jet database engine could not find the object ". Make sure
the object exists and that you spell it's name and the path name correctly."
What is making this second error message appear? What can I do to correct it?
Thanks in advance. Your help is greatly appreciated!!
Pam
I have the following code on main form:
Private Sub Form_Unload(Cancel As Integer)
If Not IsNull(Me.fStatusSubform.Form.[PartsOnOrder]) And
IsNull(Me.fStatusSubform.Form.[ExpectedPartsRecdDate]) Then
Cancel = True
MsgBox "Parts Expected Date Is Required!!"
Exit Sub
End If
End Sub
When there is no date in ExpectedParts, the message pops up and then another
message Close action was cancelled. That is all fine. But if user, tries to
close again, the msgbox message appears and then another message box with
following:
"The Microsoft Jet database engine could not find the object ". Make sure
the object exists and that you spell it's name and the path name correctly."
What is making this second error message appear? What can I do to correct it?
Thanks in advance. Your help is greatly appreciated!!
Pam