Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional Formula for Horizontal Alignment 3

Status
Not open for further replies.

rhper14

Technical User
Oct 23, 2002
16
US
What is the crystal syntax I would use if I wanted to conditionally apply horizontal alignment to a particular field (ie. right-click, format field, horizontal alignment under common)

if {field1} = true
then *want to left align here
else *want to center align here
 
Use:

if {field1} = true
then crLeftAligned else
crCenteredHorizontally

Note that the other available values for alignment are listed in the function list under "Horizontal alignment constants."

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top