Force field to save to prevent crash

  • Thread starter Thread starter Sammie
  • Start date Start date
S

Sammie

Access crashes if a user enters data in a field, and without leaving the
field, presses a command button to print a report based on the form. How can
I force Access to save the data in the recent field before proceeding to
print the report?
 
In the command button code, before you print the report:

If me.Dirty Then
Me.Dirty = False
End If
 
Back
Top