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

Posted on 2009-04-20
Last Modified: 2013-11-26
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}
Question by:pratnaprakash
    LVL 53

    Accepted Solution

    Passing parameters to Crystal Reports at runtime with c#
    LVL 83

    Assisted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now