Click here to Skip to main content
14,219,408 members
Rate this:
Please Sign up or sign in to vote.
hi all
i have a crystal report text field that i want set length to 10 character ..
it is used for show name+family in report

i want when this field cant show all character of name+family , font size reduce for 1 unit , until field can show name+family compelete ...

for example :
this field can show only 10 character
and 
in database exists one filed that have 15 character length
now
this filed should reduce font size until can show all 15 character of field


how do i this ?

please help me

thanks a lot
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Yeah you can very well do this using the formula in the font section as-


Right click on the field and select format field
click on the Font tab
click onthe formula box next to the Size option
insert the formula as:
If {table.field} >10 then 8 else 10



Hope it Helps.
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100