如何将两个字段组合成水晶报表中的单个行 [英] how to combine two fields into a single row in crystal report
本文介绍了如何将两个字段组合成水晶报表中的单个行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用VS2008而且我是水晶报告的新手
在我的程序中有一些用于保存电话号码的字段
对于任何记录。
当我为手机号码输入两个数字时(例如),在报告中它将数据显示为两个记录,但我希望它在单行报告
是否可以这样做?
提前感谢
I am using VS2008 and I'm new to crystal report
In my program there are some fields for saving phone numbers
for any record.
when I enter two numbers for mobile number(for instance) ,in the report it shows the data into two records but i want it to be in a single row for reporting
Is it possible to do that?
thanks in advance
推荐答案
是的,这是可能的。
当我为手机号码输入两个数字时(例如),在报告中它将数据显示为两个记录,但我希望它在一个单行报告
看起来你正在使用一个表,你只是用检索到的值映射每一列。
您可以连接两个字段值为一个。只需执行以下操作:
Field1Value ++ Field2Value
Yes it is possible.
when I enter two numbers for mobile number(for instance) ,in the report it shows the data into two records but i want it to be in a single row for reporting
Looks like you are using a table and you are just mapping each column with the values retrieved.
You can concatenate two field values into one. Just do something like:
Field1Value + " " + Field2Value
感谢您的回答
但是我怎么能在水晶报告中做到这一点?
正如我所说我是水晶报告的新手
我知道一点关于在CR写作fromulas但是我不知道知道如何在报告中使用它
你能解释一下吗?
非常感谢
thank you for your answer
but how can I do that in crystal report?
As I said I'm new to crystal report
I know a little about writing fromulas in CR but I don't know how to use it in a report
would you please explain it more?
thank you very much
你是对的jghf
jhgfd
jhgfd
nhgcx
xfcgh
cvbnm,ds
sdgfgjk
you are rightjghf
jhgfd
jhgfd
nhgcx
xfcgh
cvbnm,ds
sdgfgjk
这篇关于如何将两个字段组合成水晶报表中的单个行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文