Microsoft KB Archive/102074

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 09:20, 20 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
Knowledge Base


Article ID: 102074

Article Last Modified on 2/11/2005



APPLIES TO

  • Microsoft Visual FoxPro 3.0 Standard Edition
  • Microsoft FoxPro 2.5b for MS-DOS
  • Microsoft FoxPro 2.5a
  • Microsoft FoxPro 2.5b for MS-DOS
  • Microsoft FoxPro 2.6 for MS-DOS
  • Microsoft FoxPro 2.5b
  • Microsoft FoxPro 2.5a
  • Microsoft FoxPro 2.5b
  • Microsoft FoxPro 2.6 Standard Edition



This article was previously published under Q102074

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 query words: VFoxWin FoxDos FoxWin

Keywords: kb3rdparty KB102074