saving information before print preview

tanzania

Registered User.
Local time
Yesterday, 22:18
Joined
Oct 20, 2006
Messages
91
Hi, I have a form with a command button that allows the report to directly viewed from here. The problem is it shows the information on the report before the fileds have been updated. How do i make sure all form fields are updated when i click on this button?

Cheers

Tania
 
Put this at the beginning of your code, which is behind your command button;

Code:
DoCmd.RunCommand acCmdSaveRecord
 
thanks! all good now-i had tried something similar with a save command-just didnt get it quite right!!
 

Users who are viewing this thread

Back
Top Bottom