如何将价值从形式传递到水晶报告 [英] how to pass value from form to crystal reports

查看:103
本文介绍了如何将价值从形式传递到水晶报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其Windows应用程序.用户登录到应用程序后,如果"A"(登录用户名为"A"后)用户尝试获取报告,则在报告的标题部分中我要显示关注登录用户.我知道如何将值从窗体传递到sql并获取数据并在Crystal报表中显示.但是我无法从窗体显示到Crystal报表,因为这里数据库不交互,
(注意:我正在使用构造函数将值从一种形式传递到另一种形式)

its windows application. after user login into the application if ''A'' (after login username is ''A'') user try to get report, in the header part of the report i want to display concern log in user. i know how to pass value from form to sql and fetch data and display in crystal reports., but i am unable to display from form to crystal reports because here database not interacting,
(Note: i am using constructors to passing value from one form to another form)

推荐答案

看看这些..
如何在运行时将参数传递给Crystal报表 [ ^ ]
http://social.msdn.microsoft.com/Forums/eu/Vsexpressvcs/thread/8a429e6b-64c6-449e-b329-0a3ba6ee6865 [
Have a look at these..
How to Pass Parameters to Crystal Reports at Runtime[^]
http://social.msdn.microsoft.com/Forums/eu/Vsexpressvcs/thread/8a429e6b-64c6-449e-b329-0a3ba6ee6865[^]


这篇关于如何将价值从形式传递到水晶报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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