Which versions of crystal reports can create .rpt files that I can run with an app built with visual studio 2005?


  • I have an app built using Visual Studio 2005, which can run rpt files. The .rpt files are stored in a particular folder and the db has metadata about the report name, filename, and stored procedure to run for it. When a user runs a report I call the appropriate stored proc to get a DataTable, create a ReportDocument and load the rpt file, SetDataSource() with the DataTable, then display the report in a CrystalReportViewer control.

    If my client wants to be able to modify or create their own rpt files, which versions of Crystal Reports do they need to use?


    Friday, November 05, 2010 8:17 PM


All replies

  • Hi Rory,

    Welcome to MSDN forums.

     Why do you want to modify or create rpt files? You can pass parameters to get specific records.

    Please refer here: http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-string-parameter.htm

    Hope these helps, if you have any problems, please feel free to let me know.

    Best Regards,
    Alan Chen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

    Monday, November 08, 2010 8:45 AM
  • Why would someone want to make a new report :-)

    Different layout, presentation, different data, etc. All the reasons not everyone in the world uses the same .rpt file.

    Monday, November 08, 2010 11:25 AM
  • Hi Rory,

    In fact, I haven't done it before. I find a link on the internet, hope it may give you some help:



    Hava a nice day.

    Alan Chen

    Tuesday, November 09, 2010 6:48 AM