The information in this article applies to:
SUMMARY
Moderate: Requires basic macro, coding, and interoperability skills.
MORE INFORMATION
In dBASE, you can create a report with the Report Generator, and then print
the report from a program by using the REPORT FORM TO PRINT command. In
Microsoft Access, you can print a pre-existing report programmatically
by using DoCmd.OpenReport (or DoCmd OpenReport in versions 1.x and 2.0).
If you omit the TO PRINT clause, which is optional in dBASE's REPORT FORM command, the report will be printed to the screen. This is equivalent to showing the report in Print Preview mode rather than sending it to the printer. This can be done with DoCmd.OpenReport by adding the A_PREVIEW parameter:
In addition, you can open a report in Design view by using the A_DESIGN
parameter:
Additional query words:
Keywords : kbprg kbprint |
Last Reviewed: October 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |