The information in this article applies to:
SUMMARYIt may be necessary to change the measurement unit of the ruler in the Report Designer. For instance, the Report Form Wizard in Visual FoxPro for Windows defaults to inches even if Measurement System in the Regional Settings Properties is set to Metric. Applications that allow users to modify reports could use this functionality, allowing the user to choose between a Metric ruler and a U. S. ruler. MORE INFORMATIONAccording to the 50frx1.frx report form in the HOME() + "FILESPEC" directory of Visual FoxPro 5.0 (Visual FoxPro 3.0x has the file 30frx1.frx), the Ruler field of a .frx report file "specifies 1 if the ruler is displayed". When the report is created, the value of the Ruler field could actually be one of three values. The list below shows the three values and the measurement system to which each value corresponds: 1 = U. S. (inches)The following sample code shows how to programmatically change the value of this field and consequentially change the ruler measurement. Sample Code
NOTE: In FoxPro 2.x for MS-DOS and Unix, the system menu disappears when
you modify the report in the program. Once you close the Report Designer
and the program exits, the system menu returns.
REFERENCES© Microsoft Corporation 1998, All Rights Reserved. Additional query words: kbDSupport kdDSE kbnokeyword
Keywords : |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |