473,569 Members | 2,604 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 1582
Marius,

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

Regards - Octavio

"Marius Rus" <Ma*******@disc ussions.microso ft.com> escribió en el mensaje
news:2A******** *************** ***********@mic rosoft.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
4792
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 number in the textbox. The problem is that I need to call the crystal report function in the "override protected void OnInit(EventArgs e)" function to...
1
1512
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 report (Crystal). It looks like , it completely ignores the parameter i am passing and just brings all the records from the database. When i run the...
1
1938
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 . 1) The first time ReportDocument.Load is used when the Crystal Report is loaded and the parameter page is created. 2) The second time the...
2
14241
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 an error when I actually do the oRpt.Export() command. The error is "Missing parameter field current value." I looked this error up on...
0
1012
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 report (Crystal). It looks like , it completely ignores the parameter i am passing and just brings all the records from the database. When i run the...
1
2234
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 parameter in the report. Please help. Thanks a lot, Ray
0
1797
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 the crystal report view it shows all the values from the discrete parameter. But when I export the report it only shows the values from the last...
0
2788
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 the crystal report view it shows all the values from the discrete parameter. But when I export the report it only shows the values from the last...
12
7089
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 Duplicate and Triplicate. How can i do that please help ......... I had used the following piece of code for general of display crystal report... ...
0
7614
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8125
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7676
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.