How to Run a dBASE IV Report File in FoxPro

Last reviewed: April 29, 1996
Article ID: Q102074
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for MS-DOS, versions 2.5, 2.5a, 2.5b, 2.6
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6

SUMMARY

You can run dBASE IV reports without any modification by using the .FRG report files generated by dBASE, as shown below.

In FoxPro version 2.6, the application used to convert dBASE .FRM files to .FRX files is executed when you choose Migrate Files from the Run menu. The Catalog Manager will convert the .FRM files automatically when these files are run or modified.

MORE INFORMATION

In FoxPro for MS-DOS, you can run a dBASE .FRG report file with the REPORT FORM command; for example, REPORT FORM <filename>.FRG. FoxPro compiles the .FRG program into an .F4X file and runs the report.

In FoxPro for Windows, you must use the DO command instead. FoxPro compiles the .FRG report into an .FXP file and runs the report. For example:

   USE <database name>
   LOCATE
   DO <report name>.FRG WITH .T.,.F.,.T.,"This is the heading"

NOTE: You must use the LOCATE command because there is a CONTINUE command in the main DO WHILE loop generated by dBASE. The DO command parameters shown above correspond to NOEJECT, PLAIN, SUMMARY, and an additional title line, respectively.

NOTE: dBASE is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

REFERENCES

"Migration Guide," version 2.5, pages 8-9


Additional reference words: VFoxWin 3.00 FoxDos FoxWin 2.50 2.50a 2.50b
2.60
KBCategory: kb3rdparty kbtool kbprg
KBSubcategory: FxinteropDbase


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.