FIX: FoxPro Sends Only Two Decimals to MS GraphID: Q104052 2.50 2.50a 2.60a 3.00 WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSFoxPro for Windows will only send data with a precision of two decimal places to Microsoft Graph. In other words, numeric fields that contain more than two decimal places will be rounded to just two places. The settings for the SET DECIMALS TO and SET FIXED commands have no effect on this behavior.
CAUSEThis behavior is caused by a limitation in the way that the GraphWizard sends data to MS Graph.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro for Windows version 3.0b.
MORE INFORMATIONThe results of a query in the RQBE window can be sent to a graph by selecting Graph from the Output list box. The GraphWizard then takes over and provides direction on the creation of the graph/chart.
Steps to Reproduce Behavior1. Create a new database that has one character field and two numeric 2. Add three records to the database. In the character field, enter
3. In the Command window, issue the following command:
4. From the Run menu, choose New Query. In the Output list box, select
5. Choose Do Query. The GraphWizard will take over and provide
6. Choose the Zoom button to open the graph in a window by itself.
7. Activate the Datasheet window. Select (highlight) the cells that
8. From the Format menu, choose Number. In the Format box at the
The datasheet for the graph will now display the numbers with three
decimal places. Note that the third decimal place is always zero. The
numbers have been rounded. You can manually enter additional decimal
places in Graph, but they will not automatically transfer over from
FoxPro due to the limitation in the GraphWizard.
REFERENCESMicrosoft FoxPro for Windows "User's Guide," version 2.5, pages U13-17 through U13-21 Microsoft Graph "User's Guide," pages 35 through 42 Additional reference words: VFoxWin FoxWin 2.50 2.50a 2.60a popup Gengraph MSGraph 3.00 3.00b KBCategory: kbprg kbprb KBSubcategory: FxtoolRqbe
|
Last Reviewed: September 23, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |