I'm trying to find the Before Update event in the event builder and I cant see it anywhere.
I've seen a few different ways of achieving the same thing but so far nothings worked.
If a user adds wrong information and choses to close the form then it always saves the data. I only want it saved if the user choses to save it.
The close button I have has saving turned off but it seems the record has already been updated by that point.
Thanks in advance,
Andy.
Edit - The before update is in form properties, I have found it now. But I cant set the parameter 'Cancel' to True.
if I look at the forms code this is there,
Option Compare Database
Private Sub Form_BeforeUpdate(Cancel As Integer)
End Sub