Microsoft KB Archive/157225

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 6.0
 * Microsoft FoxPro for Windows, version 2.6a

-

SUMMARY
Msgrp5cq.exe is a sample that shows how the default data representation changed in the Microsoft FoxPro Graph Wizard between Microsoft FoxPro 2.6x for Windows and Microsoft Visual FoxPro 3.0x for Windows.

In the sample, section A details the steps to create a sample graph in FoxPro 2.6x using the data from a FoxPro 2.6x sample table named Detail.dbf (the file is included in the SoftLib files available for download).

Then, in section B, the same graph is created in Visual FoxPro 3.0x using the same data to show the difference in display that is caused by a default choice in Series-in-Columns / Series-in-Rows, from MS Graph5's Data menu.

Finally a component of the default choice made within Microsoft Graph5, which is stored in a file named Default.gra that is saved in the default Windows subdirectory, also impacts the display process. Steps are shown that allow a new default to be saved.

MORE INFORMATION
The following file is available for download from the Microsoft Software Library:

"Msgrp5cg.exe" For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base: "Q119591 How to Obtain Microsoft Support Files from Online Services" File contents of this sample file, Msgrp5cg.exe, include the following: Detail  cdx         7,680  09-28-93  2:50a Detail.cdx Detail  dbf        49,294  09-28-93  2:50a Detail.dbf F26det  qpr           125  08-23-96 11:24a F26det.qpr F30det  qpr           143  08-23-96  1:30p F30det.qpr Fpw26gph dbf          371  08-23-96 12:38p Fpw26gph.dbf Fpw26gph fpt       12,288  08-23-96 12:38P Fpw26gph.fpt GRP5_BEH doc    9,136,128  08-26-96  1:00p Grp5_beh.doc Readme  txt         2,331  08-26-96  2:30p ReadMe.txt Vfpgraph fpt       17,152  08-23-96  5:56p Vfpgraph.fpt Vfpgraph dbf          333  08-23-96  5:56p Vfpgraph.dbf NOTE: Expanding Msgrp5cg.exe requires at least 10 MB of free disk space.

The Grp5_beh.doc file is a Microsoft Word 95 document that details MS Graph5 behaviors and changes. This document contains many screen images.

The Detail.dbf and .cdx files provide the data upon which the queries and graphs are based.

The F26det.qpr and F30det.qpr files are the queries for FoxPro 2.6 and FoxPro 3.0, respectively.

The Fpw26gph.dbf and .fpt files contain the general field, which holds the FoxPro 2.6 graph.

The Vfpgraph.dbf and .fpt files contain the general field, which holds the FoxPro 3.0 graph.

Summary of File Use
In FoxPro 2.6 run the F26det.qpr file and follow the procedures in section A of Grp5_beh.doc. In Visual FoxPro 3.0 run the F30det.qpr file and follow documentation in section B. (c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Perry Newton, Microsoft Corporation Additional query words: msgraph

Keywords         : kb3rdparty kbwizard kbVFp300 kbVFp300b kbVFp600 Version          : WINDOWS:3.0,3.0b Platform         : WINDOWS Issue type       : kbhowto
 * }