将每个报告保存在不同的pdf文件中. [英] saving each report in different pdf files.

查看:115
本文介绍了将每个报告保存在不同的pdf文件中.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Plz先生Plz先生请帮助我.....
先生,我希望将水晶报表以pdf格式保存在vb.net 2008中,而我的后端是sql server2005.
我得到了有关如何将报告保存为pdf格式的解决方案,但实际上所有记录都保存在一个pdf文件中.
我不想要那种...我希望将项目的每个记录都保存在每个pdf文件中,就像当前在法案编号前的报告一样. 1.这唯一的帐单号1必须将其他文件保存在pdf文件中.对于其他法案.像2,3,4,...等等必须保存在每个pdf文件中.
在保存按钮时,它应该问我保存在哪里.
Plz Plz Plz Help .......
希望你能解决我的问题......
谢谢.

Sir Plz Plz Plz Help I m in trouble.....
Sir I want crystal report to be saved in pdf format in vb.net 2008 and my back end is sql server 2005.
I got the solution for how to save reports in pdf format but its actually all the records are saved in one pdf file.
I dont want that kind...I want Each record of the project to b saved in each pdf file, like the current report in front of me of bill no. 1.This only bill no. 1 has to save in pdf file no one else. For othe bill nos. like 2, 3, 4, ...etc. have to be saved in each pdf files.
And while saving on button click it should ask me where to save.
Plz Plz Plz Help.......
Hope u will solve my problem......
Thank You.

推荐答案

OP写道:

Sir Plz Plz Plz帮助我很麻烦 .....

Sir Plz Plz Plz Help I m in trouble.....


:Doh::confused:


:Doh: :confused:

OP写道:

我希望将项目的每条记录都保存在每个pdf文件中,就像当前在法案编号之前的报告一样. 1.这唯一的帐单号1必须将其他文件保存在pdf文件中.对于其他法案.像2,3,4,...等等必须保存在每个pdf文件中.

I want Each record of the project to b saved in each pdf file, like the current report in front of me of bill no. 1.This only bill no. 1 has to save in pdf file no one else. For othe bill nos. like 2, 3, 4, ...etc. have to be saved in each pdf files.


非常简单.查看报告时应用选择公式.
例如:


It''s very simple. Apply the selection formula while viewing the report.
For example:

crystalReportViewer1.SelectionFormula = "{Table.billno}=1"


这将打开带有Bill No.1的报告.因此,只需在后面的代码中动态更改此处的billno值即可.

进一步阅读
使用选择公式创建报告 [ ^ ]
VB.NET Crystal Reports整数参数 [


Here this will open the report with BillNo.1. So change the billno value here dynamically in your codebehind, that''s all.

Further reading
Creating a Report with a Selection Formula[^]
VB.NET Crystal Reports Integer parameter[^]


这篇关于将每个报告保存在不同的pdf文件中.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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