• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 327
  • Last Modified:

I want to invoke Crystal Report during Runtime by giving fromdate and Todate

Hi, I am using Crystal Report X. I have a form where I am giving fromdate and Todate(datepicker) and press Print, the report invokes with the daterange no problem. But fromdate and Todate it takes from a table VARIABLE. But I want to pass the fromDate and Todate during runtime. Because fromdate and Todate the time I pass this, it open the Table VARIABLE, there i save fromdate and toDate and then when it invokes the report, again i take it from the table instead of passing during the RunTime. Anyone can help me. For you info. I have a formula inside the report under Report->SelectFormulas->Record, the below is the formula
{LPOMaster.DateofLPO}>={Variables.FromDate} and {LPOMaster.DateofLPO}<={Variables.ToDate}
2 Solutions
Passing parameters to Crystal Reports at runtime with c#

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Tackle projects and never again get stuck behind a technical roadblock.
Join Now