At 02:29 PM 7/24/2008, Richard Croy wrote:
Is there a way to rotate a variable field in a report? I have a
report which I am redesigning on which, for a specific reason,
I would like to run the field (vName) vertically, but I can't
figure out how to turn it 90 degrees.
Dick,
Here's how:
01. While in Label Designer, define a variable for the field to be oriented
vertically on a side of the label
Example:
Expression Name: vName
Type: TEXT
Expression: (FirstName&LastName)
02. Place a "Rotated Label" object on the label
Adjust the height, font, size, and color accordingly
Use the "Arial" font or any font that can be rotated
03. Right-click on a rotated label object and change the "Angel..." property
to "Rotated at: 90"
04. Also, assign a Component ID to rotated label object, such as VerticalLabel
05. Use the following code as "Before Generate Custom EEP..." for Detail Band
PROPERTY RotatedLabel CAPTION .vName
RETURN
06. Click on [Label Preview] tab to preview
That's all there is to it!
Very Best R:egards,
Razzak.