Oliver2003
Technical User
Hi,
I have a form with a sub form - in the main forms before update I have the following code:
If Me.Dirty Then
If MsgBox("Do you want to save changes", vbYesNo, "Save?"
= vbNo Then
Me.Undo
End If
End If
to check if there have been any changes made - this works fine on the main form but does not pick up any changes on the subform
Is it possible to detect changes made on the subform without putting code in the subforms before update event?
Thank you
I have a form with a sub form - in the main forms before update I have the following code:
If Me.Dirty Then
If MsgBox("Do you want to save changes", vbYesNo, "Save?"

Me.Undo
End If
End If
to check if there have been any changes made - this works fine on the main form but does not pick up any changes on the subform
Is it possible to detect changes made on the subform without putting code in the subforms before update event?
Thank you