Hello,
From a Form where I input information to be printed, I always have to re-open the form in order to print (otherwise, it doesn't print the most recent information added.)
Is there a way to get my VBA print command to create a report to print with the most recent refreshed information before printing so I don't have to re-open the form first?
Thanks in advance.
Here's my code so far
--------------------------------------------------
Private Sub Command38_Click()
DoCmd.OpenReport "PurchaseOrder", PrintOut, , _
"[OrderID]=Forms![Orders].[OrderID]"
--------------------------------------------------
From a Form where I input information to be printed, I always have to re-open the form in order to print (otherwise, it doesn't print the most recent information added.)
Is there a way to get my VBA print command to create a report to print with the most recent refreshed information before printing so I don't have to re-open the form first?
Thanks in advance.
Here's my code so far
--------------------------------------------------
Private Sub Command38_Click()
DoCmd.OpenReport "PurchaseOrder", PrintOut, , _
"[OrderID]=Forms![Orders].[OrderID]"
--------------------------------------------------