View Full Version : Report not showing new records entered


Jill
09-07-2000, 09:04 AM
I'm hoping this is something really easy that I'm forgetting, but when I add a new record in my form and click on the preview form button (to preview my report)none of the fields are showing up. I have the button based on a macro, so I went back and put in a Save command to save the form before it previews the report. It's still not working.

The only way I can get it to preview w/ all of the fields is if I scroll to another record and then come back to this one. Then when I click on the preview report button everything comes up just fine.

Please help! Does anyone know what I am forgetting?

Pat Hartman
09-07-2000, 09:08 AM
You need to add a save command to the click event of the preview button. The following code will do the trick:

DoCmd.RunCommand acCmdSaveRecord

"Bridge players know all the tricks"

Jill
09-07-2000, 09:46 AM
Thanks Pat. Your help is much appreciated.