C#中的水晶报表问题 [英] Crystal report Problem in C#

查看:97
本文介绍了C#中的水晶报表问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我在vs 2005 C#中创建了水晶报表.

报告是每日分配报告.

每日分配是表名称包含(日期,区域编号,客户编号,MilkType,MilkSubtype,数量...)


我想要的O/p如下

客户名称|牛奶类型|牛奶子类型|数量

AAA Cow Chitale 2
BBB Cow Chitale 3
CCC增益Thorat 4
DDD buff chitale 3


总数量//位于报表页脚,(摘要)
牛Chitale 5
Buff thorat 4
Buff chitale 3

对于两个o/p,如果我使用查询向导(内置),那么在选择记录时如果我想对每种亚型和牛奶类型保持计数,那么我只能得到一个o/p,那么我如何使用配方呢?


我应该使用Crystal Report内置公式还是通过数据源使用什么?
请回复
它退出了紧急事件..................

hello,

i created crystal report in vs 2005 C#.

report is for daily allotment report.

DailyAllotement is table name contains (date,zoneId,CustomerId,MilkType,MilkSubtype,Qty......)


O/p i want is as follow

Customer''s Name | Milk Type | Milk Sub Type | QTY

AAA Cow Chitale 2
BBB Cow Chitale 3
CCC buff Thorat 4
DDD buff chitale 3


Total Qty // at report footer,(summary)
Cow chitale 5
Buff thorat 4
Buff chitale 3

for both the o/p if i used query wizard (inbuilt) then only one o/p can i get ,on selecting record if i want to keep counter on each subtype & type of milk then how i used formula?


what should i use crystal report inbuilt formula, or through data source.
please reply
it quit urgent ..................

推荐答案

您可以在查询中处理它,并提供一个字段来提供您总数

您可以在报告中使用组"(基于牛奶类型)并进行小计.使用公式字段来形成它并引用它.将文本框放置在所需的位置,并使用公式字段以显示值.
You can either handle it in queries and have a field providing you the totals
or
you can use Groups in the report (based on milk type) and have subtotals. Use formula fields to form it and refer it. Place the textbox where you want and use formula fields in order to show the values.


这篇关于C#中的水晶报表问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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