473,503 Members | 2,289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Writing direct into the parameter in Crystal Report

Could anyone tell me please how to write from the c# code in an parameter?
For example I have an report that it is asking for a client code as the
parameter. Now it is showing the interface from Crystal report asking for
introducing that parameter. How do i make this automatic as I have a form
that already have the "client code" and to insert it automatic into the
parameter of the report and the report to be shown without asking to
introduce the parameter.
Also if it is a way to customize the interface that appear when have an
parameter and asking about that parameter. For example I consider it too
large. How i do to be smaller.
Thank you.
Nov 17 '05 #1
1 1572
Marius,

Create in C# the user interface that asks for the parameter value, and then
pass that value to the report using the SetParameterValue() method of the
ReportDocument.

Regards - Octavio

"Marius Rus" <Ma*******@discussions.microsoft.com> escribió en el mensaje
news:2A**********************************@microsof t.com...
Could anyone tell me please how to write from the c# code in an parameter?
For example I have an report that it is asking for a client code as the
parameter. Now it is showing the interface from Crystal report asking for
introducing that parameter. How do i make this automatic as I have a form
that already have the "client code" and to insert it automatic into the
parameter of the report and the report to be shown without asking to
introduce the parameter.
Also if it is a way to customize the interface that appear when have an
parameter and asking about that parameter. For example I consider it too
large. How i do to be smaller.
Thank you.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4790
by: Simon | last post by:
Hi, I am using ASP.NET with C# and Crystal Report. I have a textbox et a asp.net button. I send a number in the texte, I push the button and I want to see the report with value related to the...
1
1507
by: Radx | last post by:
Hello All I am having a very hard timt exporting crystal report to PDF document in my ASPX page. I am able to generate the PDF document , but the i am not able to pass the parameter to the...
1
1932
by: Kapil Shah via DotNetMonster.com | last post by:
Hello everybody, I am trying to create a web application to generate Crystal Report with Parameters. However I noticed that ReportDocument.Load is used twice when the parameter page is loaded ....
2
14238
by: drisso | last post by:
Hello, I have searched that error on these message boards, msdn and crystaldecisions.com. I found tutorials that showed how to export a crystal report to pdf, but like many others I am getting...
0
1008
by: Radx | last post by:
Hello All I am having a very hard timt exporting crystal report to PDF document in my ASPX page. I am able to generate the PDF document , but the i am not able to pass the parameter to the...
1
2230
by: Ray | last post by:
Dear all, How to pass parameter from vb.net to Crystal Report? I'm now using ReportDocument and CrystalReportViewer. However, I don't know how to pass a parameter to the report and print the...
0
1796
by: lrobo01 | last post by:
I'm having a problem with Crystal report.net with ASP.NET. The problem occurs when exporting the report. The report uses a discrete parameter with multiple values. When the report is loaded into...
0
2782
by: lrobo01 | last post by:
I'm having a problem with Crystal report.net with ASP.NET. The problem occurs when exporting the report. The report uses a discrete parameter with multiple values. When the report is loaded into...
12
7080
by: Rajib27 | last post by:
Hi I am using VB2005 As Font end and Sql server 2005 express edition as Back end. I want to get direct Printout from VB2005 Using Crystal report. I want 3 reports to print out on a click Original...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7012
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.