How to: Set Alignment of Report Control Contents
You can change the alignment of text in Field and Label controls. Changing alignment in these controls affects only their contents and does not affect the alignment of the control on the page layout. You can also center the contents from General fields, specified by Picture/OLE Bound report controls, within their frames.
To change output alignment in a Field or Label control
Open the report or label in the appropriate designer.
In the designer, click the Field or Label report control you want to change.
On the Format menu, point to Text Alignment, and click the alignment you want.
You can also change the alignment in a Field control depending on the data type you specify for the control on the Format tab in the Field Properties dialog box. For more information, see Format Tab, Report Control Properties Dialog Box (Report Builder).
Note
If the _REPORTBUILDER system variable is not set to the default Report Builder or is set to a third-party builder, the report control dialog box displays or a different dialog box might display. For more information, see _REPORTBUILDER System Variable and Report Expression Dialog Box.
Centering Contents from General Fields in Frames
When specifying General fields in Picture/OLE Bound report controls, contents in General fields might vary in shape and size from the frames that contain them. When the frame is larger than its contents, the contents in the General field appear anchored in the upper left corner of the frame. You can center the contents from General fields horizontally within their frames.
To center a General field in its frame
Open the report or label in the appropriate designer.
In the designer, double-click the Picture/OLE Bound report control.
The Picture/OLE Bound Properties dialog box opens.
Note
If the _REPORTBUILDER system variable is not set to the default Report Builder or is set to a third-party builder, the report control dialog box displays or a different dialog box might display. For more information, see _REPORTBUILDER System Variable and Report Picture Dialog Box.
In the Picture/OLE Bound Properties dialog box, click the General tab if it is not selected.
On the General tab, click Center general field horizontally in frame.
When you are finished, click OK.
When generating output for the report, the contents from the General field appear centered within the frame.
For more information, see General Tab, Report Control Properties Dialog Box (Report Builder).
See Also
Other Resources
Managing Report Controls
Configuring Report Controls
Working with Report Controls