Configuring the Data Source by Editing the .RPT File for The Report Viewer

One of the ways to properly set up the data source for The Report Viewer (TRV) is to configure or change the data source inside the report file. This can be done by following these steps:

  1. Ensure that the appropriate database driver is installed on the system. The specific driver needed will depend on the database being used.
  2. Open the report file in a full version of Crystal Reports.
  3. Use the "Verify Database" menu item to update the data source as needed.
  4. Save the report file.

After completing these steps, the data source should be properly configured and ready to use in TRV.