473,441 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,441 software developers and data experts.

Crystal report

Hi All,
I am using .Net studio C sharp windows application (WinForm). Crystal
reports r running fine..
I want to diplay report with conditions...
Want to pass parameters to CR..
e.g. Start Date and End Date???
Thanx In Advance

Vivek Kumbhojkar
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004
Nov 16 '05 #1
3 2599
Hi,

You can pass parameters to a CR like this:

reportDocument1 = new TSRReport();

reportDocument1.SetParameterValue( "CodeNo", theTsr.IDCode);
reportDocument1.SetParameterValue( "EntryDate", theTsr.EntryDate);

TSRReport is a name of a CR

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Vivek" <vi**************@solversa.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi All,
I am using .Net studio C sharp windows application (WinForm). Crystal
reports r running fine..
I want to diplay report with conditions...
Want to pass parameters to CR..
e.g. Start Date and End Date???
Thanx In Advance

Vivek Kumbhojkar
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004

Nov 16 '05 #2
Hello,
Thanx for reply but how to set this parameter in Crystal report or how to
use this parameter in Crystal report..
am I need to do this at design time? if yes how..
I am new to crystal reports in csharp...
I can create static crystal reports... I do not found any area where I can
create parameters in CR...

Vivek Kumbhojkar

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:eX**************@TK2MSFTNGP09.phx.gbl...
Hi,

You can pass parameters to a CR like this:

reportDocument1 = new TSRReport();

reportDocument1.SetParameterValue( "CodeNo", theTsr.IDCode);
reportDocument1.SetParameterValue( "EntryDate", theTsr.EntryDate);

TSRReport is a name of a CR

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Vivek" <vi**************@solversa.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi All,
I am using .Net studio C sharp windows application (WinForm). Crystal
reports r running fine..
I want to diplay report with conditions...
Want to pass parameters to CR..
e.g. Start Date and End Date???
Thanx In Advance

Vivek Kumbhojkar
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.729 / Virus Database: 484 - Release Date: 7/27/2004
Nov 16 '05 #3
Hi,

If you are new to CR then I advise you to read
http://www.crystalreportsbook.com/Default.asp it's a free ebook with all you
need to know.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Vivek" <vi**************@solversa.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
Thanx for reply but how to set this parameter in Crystal report or how to
use this parameter in Crystal report..
am I need to do this at design time? if yes how..
I am new to crystal reports in csharp...
I can create static crystal reports... I do not found any area where I can
create parameters in CR...

Vivek Kumbhojkar

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote in message news:eX**************@TK2MSFTNGP09.phx.gbl...
Hi,

You can pass parameters to a CR like this:

reportDocument1 = new TSRReport();

reportDocument1.SetParameterValue( "CodeNo", theTsr.IDCode);
reportDocument1.SetParameterValue( "EntryDate", theTsr.EntryDate);

TSRReport is a name of a CR

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Vivek" <vi**************@solversa.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi All,
I am using .Net studio C sharp windows application (WinForm). Crystal
reports r running fine..
I want to diplay report with conditions...
Want to pass parameters to CR..
e.g. Start Date and End Date???
Thanx In Advance

Vivek Kumbhojkar
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.729 / Virus Database: 484 - Release Date: 7/27/2004

Nov 16 '05 #4

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

Similar topics

1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
13
by: kristoff plasun | last post by:
I have a problem with a C++ DCOM application that prints Crystal Reports with data from Oracle. The SQL query is relatively complex but when the report is printed from the Crystal Reports...
0
by: Dr. Indera | last post by:
hello, i previously posted the questions below on several crystal reports newsgroups, including the one for the company that makes crystal reports, but never got an answer, so i'm hoping that...
2
by: Mythran | last post by:
In .Net, how can I go about and set a Crystal Reports namespace? Right now they use the Root Namespace (VB) from the project. How can I extend the namespace for a single report (which will be set...
1
by: Karthic | last post by:
When i right click on the .rpt file in the VS 2003, i see a property printer setting. It says "No printer" on the top and there is option to select printer and paper settings etc.. I want to...
1
by: bthomas71chevy | last post by:
I have just setup a WebServer and all the applications work fine, but when every any of the applications try to generate a Crystal Report the page errors out. "File or assembly name...
0
by: Chris | last post by:
I have the following situation in a VB.Net App I am working on: 1.)A report created in VS.Net 2003 using the CR.Net component of VS 2003. 2.)The datasource for the report is a Stored Proc in a...
9
by: Altman | last post by:
I am currently using ASP.Net 2003 and will be upgrading to 2005 sometime in the near future. I have been having issues with using Crystal Reports that were included with .Net to handle my...
0
by: John Smith | last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of Crystal Reports. Sometimes the users will preview a report in a Crystal report viewer, and sometimes they will send the...
11
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
How can I stop receiving this message while calling a crystal report? "The report you requested requires further information." Thanks
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
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
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
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,...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.