Update Code

Taxcop

Registered User.
Local time
Today, 03:24
Joined
Aug 16, 2001
Messages
12
I have a form based on a query that is used to edit data. I have created a command button in the form that prints a report using the data in the current form. The problem I'm having is when I edit the data and then click the command button the report prints with the original data not the edited data. Any suggestions on code to update or save the data before it opens the report so it prints with the edited data. Thanks.
 
Place Me.Refresh as the first line of code in your command button.
 
That did it. Thanks for your help.
 

Users who are viewing this thread

Back
Top Bottom