Setting up the database

This lesson demonstrates how to set up a database connection to the sample databases included in the product.

To set up a database connection
  1. Switch to the Crystal Reports perspective.
  2. In the Database Explorer pane, right-click Connections and click New Connection.
  3. The New Connection wizard opens.

  4. In the Connection identification section, select the “Use default naming convention” check box.
  5. In the Select a database manager list, expand the Derby node and select 10.1.
  6. In the JDBC driver list, select Derby Embedded JDBC Driver.
  7. In the Connection URL details section:
    1. In the Database location field, type classpath:/Xtreme.
    2. Select the “Create the database if required” check box and clear the “Upgrade the database to the current version” check box.
    3. Beside the “Class location” text box, Click Browse. Browse to the derby.jar and xtreme.jar files. For example, you may have installed them in the eclipse\plugins\com.businessobjects.crystalreports.samples_1.0.0.v500\SampleDatabases folder.
  8. In the User information section:
    1. Select bobj as the User ID.
    2. In the Password field, type bobj.
  9. Click Test Connection.
  10. Click Next to proceed to the Filter page, and clear the disable filter check box.
  11. Select the Selection option, select the APP check box and then click Finish.





Business Objects
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/