Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Crystal reports 在Crystal报告中合并结果 ID物品数量价格 123袋125 123鞋110 123笔140 123连衣裙120_Crystal Reports - Fatal编程技术网

Crystal reports 在Crystal报告中合并结果 ID物品数量价格 123袋125 123鞋110 123笔140 123连衣裙120

Crystal reports 在Crystal报告中合并结果 ID物品数量价格 123袋125 123鞋110 123笔140 123连衣裙120,crystal-reports,Crystal Reports,我报告的结果是: 我将sub_报告中的所有字段放在group footer下 ID THINGS QTY PRICE 123 bag 1 25 123 shoes 1 10 123 pen 1 40 123 dress 1 20 袋子25x125 鞋10x110 钢笔40x140 连衣裙20x120 如何将它们合并为: bag 25x1 25 shoe

我报告的结果是: 我将sub_报告中的所有字段放在group footer下

ID THINGS QTY PRICE 123 bag 1 25 123 shoes 1 10 123 pen 1 40 123 dress 1 20 袋子25x125 鞋10x110 钢笔40x140 连衣裙20x120 如何将它们合并为:

bag 25x1 25 shoes 10x1 10 pen 40x1 40 dress 20x1 20 材料95x495
你能帮我吗

正如Siva所建议的,您可能应该使用您的ID字段创建一个组,然后在ID组中插入sum(价格)和sum(数量)的摘要字段。这将在组页脚插入两个的总计

到目前为止,您在合并中尝试了什么?尝试显示您的代码,以便有人可以帮助修复。在报表页脚中获取摘要在主报表或子报表中报表页脚在哪里?在主报表中添加了报表页脚中的摘要,非常感谢。如果我汇总价格和数量,标签(内容)是否也会汇总?它们将汇总在一起,而不管“内容”如何往这边走。如果您想要每个材质的总数和所有材质的总数,请将ID和“things”分组 Materials 95x4 95