Report Writer Enhancements in Visual FoxProLast reviewed: April 30, 1996Article ID: Q131122 |
The information in this article applies to:
SUMMARYThe Visual FoxPro Report Designer has been updated to include many new features. These new features can be incorporated into new reports created in Visual FoxPro as well as into reports created in any previous version of FoxPro. The following new features have been added to the Visual FoxPro Report Designer:
MORE INFORMATION
Private Data SessionBy choosing Private Data Session from the Report menu, you can initialize a separate record pointer for the databases used in the report. This feature allows the report to be called from a form or program without affecting the record pointer for that session.
Drag and DropAs with many other areas of the Visual FoxPro interface, the Report Designer now supports drag and drop. Fields or entire tables can be dragged from the data environment and dropped on the appropriate band on the report to create the report expressions. Likewise, fields or tables can be dragged from the Project Manager to achieve the same results.
On Entry and On Exit Report Band ExpressionsThe report band expressions provide a way to call a user-defined function at a specific time while the report is running. There is an On Entry and an On Exit band expression for each band in the report. Each expression is called once for every page in the report. As expected, the On Entry executes as the report processing enters a particular band while the On Exit executes as the report processing leaves a particular band. The band expressions for a given report band can be accessed by double-clicking the desired band.
System ToolbarsThe Visual FoxPro Report Designer uses several system toolbars for creating reports. There are four system toolbars that relate to the Report Designer.
Report Output to an ASCII text fileThe REPORT FORM command has been updated to include a new ASCII clause. This clause, used with the TO FILE clause, can be added to the report command to send the output to an ASCII text file devoid of printer-specific control codes or escape sequences. For example:
REPORT FORM MYREPORT.FRX TO FILE MYFILE.TXT ASCII |
Additional reference words: 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |