Whilst researching another issue I came across this page which suggests that I should code in a save before closing forms
using
I have two forms which are quite complex and are main form then sub form then further tabbed sub form.
Is it OK to put the code in the close of the main form and it will catch all issues or do I need to add the code to each of the forms in the tabbed sub form?
using
Code:
' Never use Close without explicitly saving the record first:
' If Me.Dirty Then
' Me.Dirty = False
' End If
' DoCmd.Close acForm, Me.Name
I have two forms which are quite complex and are main form then sub form then further tabbed sub form.
Is it OK to put the code in the close of the main form and it will catch all issues or do I need to add the code to each of the forms in the tabbed sub form?