在发送内容之前调整水晶报表中的文本字段 [英] resize text field in crystal report before sending content

查看:58
本文介绍了在发送内容之前调整水晶报表中的文本字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨所有

i有一个水晶报告文本字段,我希望将长度设置为10个字符..

它用于报告中的节目名称+家庭



i当这个字段无法显示姓名+家族的所有字符,字体大小减少1个单位,直到字段可以显示姓名+家庭竞争对手...



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

推荐答案

是的,你可以很好使用字体部分中的公式执行此操作as-





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.


这篇关于在发送内容之前调整水晶报表中的文本字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆