473,394 Members | 1,879 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,394 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 2597
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
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
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...

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.