How to Left-Justify the Page Number in a ReportID: Q108091 The information in this article applies to:
To left-justify the _PAGENO field in the FoxPro for MS-DOS or FoxPro for Windows Report Writer, use the following method: 1. Double-click the _PAGENO field in your report. 2. In the Expression Builder, delete _PAGENO and type the following expression: PADR(ALLTRIM(STR(_pageno)),10," ") To left-justify the _PAGENO field in the FoxPro for Windows Report Writer only, use the following method: 1. Select the field. 2. From the Object menu, choose Text Alignment. 3. Choose Left. NOTE: The number 10 in the above expression is an estimate based upon the size of the _PAGENO field. 10 works for the default size assigned to _PAGENO by the Quick Report option. You may have to adjust this number based upon the actual size of the _PAGENO field. Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a 2.50b RWriter KBCategory: kbprg KBSubcategory: FxtoolRwriter |
Last Reviewed: June 27, 1995 |