Microsoft KB Archive/131217

From BetaArchive Wiki
Knowledge Base


The REPORT FORM command uses a temp file for unsaved reports

Article ID: 131217

Article Last Modified on 2/12/2007



APPLIES TO

  • Microsoft Visual FoxPro 3.0 Standard Edition
  • Microsoft Visual FoxPro 6.0 Professional Edition
  • Microsoft Visual FoxPro 7.0 Professional Edition
  • Microsoft Visual FoxPro 8.0 Professional Edition
  • Microsoft Visual FoxPro 9.0 Professional Edition



This article was previously published under Q131217

SUMMARY

Visual FoxPro uses a temporary file when you print or preview an unsaved new Report file. This is different from version 2.6 where it used the file name Untitled.frx.

MORE INFORMATION

If you create a new report file in Visual FoxPro, it will be named Report1. When you select Run Report from the Report menu, this command is generated:

   REPORT FORM C:\WINDOWS\TEMP\08824737.TMP NOEJECT NOCONSOLE TO PRINTER
                

In FoxPro version 2.x the same type of procedure (choosing Report from the Database menu) generates this command:

   REPORT FORM C:\fpw\untitled.frx ENVIRONMENT TO PRINTER
                

Keywords: KB131217