vs2015 Crystal Reports (Crystal Reports) connect to Oracle11g

table of Contents

One, install the crystal report plug-in

Two, configure the oracle client and verify

oracle client

Verify that the configuration is successful


One, install the crystal report plug-in

Crystal Reports, Developer for Visual Studio Downloads

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Find the following link in the above link and download the installation package

https://origin.softwaredownloads.sap.com/public/site/index.html

Check if the installation is successful

Click "Project-Add New Item" in vs2015, and the following figure appears to prove that the installation is successful

Two, configure the oracle client and verify

oracle client

When using Crystal Reports in vs2015, you need to use a 32-bit Oracle client, because Crystal Reports is 32-bit, otherwise there is no "Oracle server" item when setting the data source. Note that D:\java\instantclient_11_2 is added to the system environment variable path

 

 

Oracle client download address

https://www.oracle.com/database/technologies/instant-client/downloads.html

Verify that the configuration is successful

Use SCOTT.DEPT table for data verification

1. Create a new report and set up a database expert

2. Preview of the main report

If the data can be queried, the configuration is successful

This is the end, and you're done. 

Guess you like

Origin blog.csdn.net/cs373616511/article/details/109141228