how to set parameter in crystal report?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nur alam
    New Member
    • Mar 2011
    • 9

    how to set parameter in crystal report?

    I have create a web page where user enter two date and the report will all required data in the report which are in between two date. It works properly.

    I want to show two dates entered by the user in report header. How can I do it?

    please help me........
    Thanks to all
  • kadghar
    Recognized Expert Top Contributor
    • Apr 2007
    • 1302

    #2
    Try creating DataSet in your Project with the values you want to pass; in this case, a table with 2 columns (the dates), and all other tables and columns you use for the report.
    Then create in your Project a CReport. Set the empty Dataset as its datasource and arrange the info as you need it.

    During runtime you can create an instance of the dataset an fill it with your info and an instance of the report, which datasource will be the instance of the DataSet.

    HTH

    Comment

    Working...