M
Michel Peeters
I have a combo box on the mainform.
In the after-update event from the combo I wrote : "Me.recalc".
This causes the subform to "update".
This works fine but when I get in conflict with the validation rules of the
mainform:
Form_BeforeUpdate(Cancel As Integer)
If IsNull(Me.txtDatum) Then
MsgBox "...."
DoCmd.CancelEvent
End If
I receive Error 2001: you cancelled the previous operation.
What should I change?
Or is there a better way to update the subform?
tks
Michel P.
In the after-update event from the combo I wrote : "Me.recalc".
This causes the subform to "update".
This works fine but when I get in conflict with the validation rules of the
mainform:
Form_BeforeUpdate(Cancel As Integer)
If IsNull(Me.txtDatum) Then
MsgBox "...."
DoCmd.CancelEvent
End If
I receive Error 2001: you cancelled the previous operation.
What should I change?
Or is there a better way to update the subform?
tks
Michel P.