My users do not want the record saved until they've looked at the data & hit a save or cancel button. I've been researching this & found this code to stop the update (I'll work on code updates after I figure this out):
Private Sub Form_BeforeUpdate(Cancel As Integer)
Cancel = True
Me.Undo
End Sub
The problem with it is that after clicking on the tab or enter key after the last field on the form, it clears all the data from the form. I do not want this to happen. They want to look at the data. If I leave the "me.undo" off, the form freezes.
I'm a newbie to access. Help would be appreciated. Thanks :banghead:
Private Sub Form_BeforeUpdate(Cancel As Integer)
Cancel = True
Me.Undo
End Sub
The problem with it is that after clicking on the tab or enter key after the last field on the form, it clears all the data from the form. I do not want this to happen. They want to look at the data. If I leave the "me.undo" off, the form freezes.
I'm a newbie to access. Help would be appreciated. Thanks :banghead: