Basic Problem

  • Thread starter Thread starter Oli
  • Start date Start date
O

Oli

Hi

Problem I now have is that my user is inputting information into a form and
then they click a button which generates a report.

The information does not appear on the report until the form has been closed
and reopened - anyone got any suggestions for me?

TIA
Oli
 
Problem I now have is that my user is inputting information into a form and
then they click a button which generates a report.

The information does not appear on the report until the form has been closed
and reopened - anyone got any suggestions for me?

In the code behind the button that opens the report, insert the following code
at the beginning of the procedure, before the line that opens the report:

'***
'Commit any unsaved changes
If Me.Dirty Then
Me.Dirty = False
End If
'***
 
Back
Top