PRB: Center and Right Options Don't Align on Reports/Labels

ID: Q94810

The information in this article applies to:

SYMPTOMS

In the Report Writer and Label Writer, choosing Right or Center Alignment does not affect the text.

RESOLUTION

To change the field alignment, use the PADC(), PADR(), and PADL() functions.

For example, to center the information on a report or label, use the following command

   PADC(TRIM(FIELDNAME),<x>)

where <x> is the width of the report or label, which is displayed at the top of the report or label window.

NOTE: The Style command does work with a PostScript printer driver.

MORE INFORMATION

In the Report Writer, the Right and Center Alignment choices are located in the dialog box displayed by double-clicking a field, then selecting the Style check box.

In the Label Writer, the Right and Center Alignment choices are located in the dialog box displayed by choosing Style from the Label menu

Additional reference words: FoxDos RWriter LWriter 2.00 2.60a label designer lable KBCategory: kbtool kbprg kbprb KBSubcategory: FxtoolWriter

Last Reviewed: April 17, 1995