rainman89
I cant find the any key..
- Local time
- Today, 12:37
- Joined
- Feb 12, 2007
- Messages
- 3,015
Hi all,
Im trying to catch this error to tell my users that they must fill in 2 combo boxes before they can proceed to the subform, but i dont know where to put it to catch it.
thought it would go in the before_update of the form, but i was still seeing the generic
Here is what i have it in
Im trying to catch this error to tell my users that they must fill in 2 combo boxes before they can proceed to the subform, but i dont know where to put it to catch it.
thought it would go in the before_update of the form, but i was still seeing the generic
Code:
"The microsoft Jet database engine cannot find a record in the table
ExpenseType with key matching field(s) expenseTypeID."
Here is what i have it in
Code:
Err_Form_BeforeUpdate:
If Err = 3078 Then
MsgBox ("You must enter an expense type and payment method before assigning a case")
Exit Sub
Else
Resume Exit_Form_BeforeUpdate
End If