View Full Version : Print Current Record


jonp
05-17-2001, 11:05 AM
Hi all!

I have a form that has 5 pages that a user tabs through. On the last page they are able to open a dialog box that has print and email options. All of the forms work great except for one that relies on information on the last page of the form. If the user exits the form and reopens it, the problem form will then print brilliantly.

Does anyone know a way around this problem?

Thanks from Texas,
JONP http://www.access-programmers.co.uk/ubb/smile.gif

charityg
05-17-2001, 11:54 AM
I ran into this problem myself. The issue was that I wasn't saving the data that the report relied on before printing. My workaround, was to force access to save the record. I was pretty green at the time, but I new how to use the wizards, so I used the wizard to create a command button that saved a record, then copied the code to the print command button. I'm sure there is a better way to do it, but I've never had a problem with my way.

jonp
05-17-2001, 12:11 PM
Thanks charityg! It worked brilliantly.

I really appreciate your suggestion.

http://www.access-programmers.co.uk/ubb/smile.gif