ACC2000: How to Generate and Print a Report Without Saving It (203992)
The information in this article applies to:
This article was previously published under Q203992 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
You may have occasion to produce a report, which afterward, you don't want
to save. Examples include reporting on a user's responses from a custom
wizard or a report on database information, such as record sources that may
cause problems with security settings. The reason you would want to delete
the report rather than to save it is because you would add to the size of
the database file with each save action. This article shows you how to
create such a report.
REFERENCESFor more information about arrays, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Using Arrays in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about recordsets, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Recordsets collection in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the NextRecord property, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type MoveLayout, NextRecord, PrintSection Properties in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdta kbhowto kbofficeprog kbProgramming KbVBA KB203992 |
---|
|