Force field to save to prevent crash

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?
 
K

Klatuu

In the command button code, before you print the report:

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top