在公式字段中格式化 [英] Formatting in Formula Field

查看:101
本文介绍了在公式字段中格式化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,我正在使用VS05 + crystalreport + c#。我在数据库中有公司名称,地址,电话号码。我想创建公式字段,以便,1)公司名称应为粗体,蓝色,字体大小= 15,字体名称= Arial。在下一行上2)数据库中的地址不是粗体,绿色,字体大小= 13,字体名称= Arial。在下一行
3)数据库中的电话号码。它不应该是粗体,黑色,字体大小= 10,字体名称= Arial
如何创建这样的公式字段,其中字体名称,颜色,大小可以为公式中的每个单个字段格式化。 />提前致谢。

解决方案



我们可以通过格式编辑器更改这些格式:

1右键单击一个字段。
2在上下文菜单中选择"格式对象"项。
3更改显示的格式编辑器的"字体"选项卡中字段的字体。
/>哈利

HI All,
 I am using VS05 + crystalreport+c#.  I have companyname,adress,phone number in database .  I want to create formula field such that ,
1) Company name should bold,blue colour,font size = 15,font name =Arial    . on next line
2) Address from database  it is not bold,green colour ,font size = 13 ,font name =Arial    . On next line
3) phone number  from database . It should not bold,black colour , font size= 10 , font name =Arial   

How to create such formula field where font name,colour,size can be formatted for each single field in formula.
Thanks in advance.

解决方案

Hi,

We can change these format via Format Editor:

1 right click a field .
2 select 'format object ' item in the context menu.
3 change the font of the field in Font tab of the Format Editor that shows up.

Harry


这篇关于在公式字段中格式化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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