• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • 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}
0
pratnaprakash
Asked:
pratnaprakash
2 Solutions
 
DhaestCommented:
Passing parameters to Crystal Reports at runtime with c#
http://www.c-sharpcorner.com/Blogs/BlogDetail.aspx?BlogId=548
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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