vb.net,水晶报告,VS转换 [英] vb.net, crystal report, VS Conversion

查看:57
本文介绍了vb.net,水晶报告,VS转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我将我的vb windows项目从vs2008转换为vs 2010.

项目成功运行但我遇到了问题在水晶报告中

,当我第一次点击查看按钮显示报告时,它会显示表格中的所有记录

,而我有RecordSelectionFormula。

但是当我第二次点击视图按钮时,报告显示完全符合RecordSelectionFormula。



同时,它在VS2008中运行良好但转换后出现问题在VS2010



请帮助我任何一个...

Hi all,

I converted my vb windows project from vs2008 to vs 2010.
project run successfully but I have a problem in crystal report that
when I click first time on view button to show the report then it show all records available in the table
while I have RecordSelectionFormula.
But when I click the view button second time then report show exactly according to RecordSelectionFormula.

while, It was working well in VS2008 but Problem occurs after conversion in VS2010

Kindly help me any one...

推荐答案

禁用使用报告保存数据 [ ^ ]选项。

并使用 ReportDocument.Refresh [ ^ ]方法。

这里查看这个显示如何使用SelectionFormula

使用选择公式创建报告 [ ^ ]
Disable Save Data With Report[^] option.
And use the ReportDocument.Refresh[^] method.
And here check this which shows how to use SelectionFormula
Creating a Report with a Selection Formula[^]


这篇关于vb.net,水晶报告,VS转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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