This article describes how you can use Showcase Query or Report Writer to access data from Microsoft Excel, Oracle, or Lotus Domino through the use of ODBC drivers provided by the respective platforms.


Note: These ODBC drivers are NOT provided by ShowCase.

If running Showcase Query or Report Writer against Microsoft Excel files in Excel97 or later, save the file as usual. In pre-Excel97, files must be saved as Microsoft Excel 4.0 worksheets. (either through Excel or as a target file type in Query)

  1. Highlight the data in Excel that you want to query. This "named range" becomes the database.
  2. In M/S Excel click Insert | Name >Define; type in a name for the highlighted data then click (Add).
  3. Repeat steps 1 and 2 as needed, each new name defines a (table) as seen in Query.
  4. Save Excel sheet. (remember to save as an Excel 4.0 worksheet if the PC is running a version of Excel earlier than Excel97)

Open Microsoft ODBC Administrator:

  1. Click ADD, choose Microsoft Excel Driver (*.xls).
  2. Type in the data source name and description.
  3. Click OK and CLOSE.

To run a Query:

  1. Within Query, click File | New. Choose the Excel Driver as the data source.
  2. Browse for Excel file you want to query.
  3. If the table window is blank, click the drop-down menu to see the tables that were defined in the first steps.
  4. Continue to set up the query as desired.

Running Showcase Query or Report Writer against Oracle:
You can access your Oracle data on AIX or Windows NT or 2000 via Showcase Query or Report Writer, which enables you to:

  • Create and run queries and reports from Oracle data sources.
  • Use the Query add-ins for Excel.

Prerequisites
Before using Query or Report Writer to access your Oracle data on AIX or Windows NT or 2000, make sure your environment is ready.

  • ShowCase - A minimum of version 4.1 with patch 3 or later
  • Oracle 8i Release 3 (8.1.7) or later for Windows NT or 2000
  • Configure your service and verify your connection in Oracle Net8 Assistant. For help, see your Oracle documentation.
  • Oracle ODBC Driver
  • Version 8.01.72 or later on Windows NT or 2000 provided by Oracle (www.oracle.com).
  • Oracle database
  • Must run on AIX or Windows NT or 2000.

Set Up an ODBC Data Source Set up your ODBC data source(s) on all PCs that will use Query, Report Writer.

  1. On the Windows Start menu, choose: Programs ShowCase Microsoft ODBC Administrator
  2. To add an Oracle data source, click "Add".
  3. Choose the Oracle driver (File name SQORA32.DLL), and click "Finish". This opens the Oracle 8 ODBC Driver Configuration dialog box.
  4. Type a name for your Oracle data source.
  5. In the TNS Service Name drop-down box, select or type your Oracle service name. Note: If you select the name from the list rather than typing it, there may be an extra space after your TNS Service Name. To prevent errors, delete the space.
  6. Click the "Test Connection" button.
  7. In the Oracle8 ODBC Driver Connect box, make sure the Service Name is correct for your Oracle database.
  8. Enter your user name and password, and click OK to test your Oracle ODBC driver connection. If your connection is successful, continue to the next step. If you receive an error message, consult your Oracle documentation.
  9. In the Oracle 8 ODBC Driver Configuration dialog box, click "OK". You have set up your Oracle ODBC data source.

Connect to Your New Data Source

  1. Open Query or Report Writer.
  2. On the File menu, choose: New Query (or Report)
  3. In the Data Source dialog box, choose your new data source.
  4. Connect to your Oracle ODBC driver. Make sure the Service Name is correct for your database.
  5. Continue to create and run your query.

Restrictions:
When running a query against an Oracle data source, the following Query and Report Writer functionality will be unavailable: batch processing, performance analyzing, Warehouse Manager security, and data view creation. Because different ODBC drivers support different SQL functions, a query created against an Oracle data source may not run against an iSeries data source. Likewise, a query created against an iSeries data source may not run against an Oracle data source.

 For example, you may use the SQL function "ROUND" with a ShowCase ODBC driver (or data source). The Oracle ODBC driver does not support the same "ROUND" function, so Oracle users will not have access to that function. To check which functions your Oracle driver supports, open ShowCase Query, and run an Oracle query. From the Query menu, choose Columns, and click the New button. The New column dialog box will appear. The functions supported by the Oracle ODBC driver appear in the drop-down box under Functions & variables.
 

 

Ref#: 1479795

 

 

 

 


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: April 21, 2017