如何在同一CrystalReport中显示多个报告 [英] How to display multiple report in a same crystalreport

查看:75
本文介绍了如何在同一CrystalReport中显示多个报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想一次打印多名学生的收据收据,并切成几张交到学生手中.我使用了此代码,但它不起作用.

I want to print the receipts for fee payment of multiple students at a time and cut it as to handover to the students.I used this code but it doesnot work.

crystalReportViewer1.SelectionFormula = "{fee_receipt_view.receipt_number}<" + max_receipt + " and {fee_receipt_view.receipt_number}>="+max_receipt_now+"";


其中max_receipt是收据编号36,max_receipt_now是收据编号40.我想一次将收据从36m打印到40m,并根据需要撕开.


where max_receipt is receipt number 36 and max_receipt_now is receipt number 40. I want to print fee receipt from 36 to 40m at time and tear it as it need.

推荐答案

简单将收据放在数据驱动的列表中(分组依据).

进行查询,以使您传递收据范围-相应地返回数据-相应地生成报告.打印!
Simply put the receipt in the list(group by) driven by data.

Make your query such that you pass on the receipt range - data would be returned accordingly - report would be generated accordingly. Print it!


这篇关于如何在同一CrystalReport中显示多个报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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