What you need to do is add the field to the report twice. Set one to center and the Print When logic as needed. Set the other to left and set the print when logic accordingly.
Cathy
>Dear Experts
>
>There is a character type field on report.
>I want to alignment that field with following conditions
>
>assume that "field1" is report field
>
>
>IF LEN(ALLTRIM(field1))<30
>field1.alignment=center
>else
>field1.alignment=right
>endif
>
>
>Is it possible, if yes then please help me.
>
>Thanks in advance