Crystal report

V

Vivek

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
 
I

Ignacio Machin \( .NET/ C# MVP \)

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,
 
V

Vivek

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top