17.11.2014 Views

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Administrator<br />

Opening an Oracle<br />

Database<br />

To open an Oracle database:<br />

1. Click the Oracle Database button in the<br />

Database tab of the Properties dialog.<br />

This brings up the CS Oracle Connection<br />

dialog.<br />

Oracle<br />

Database<br />

button<br />

NOTE: The Oracle Database button is available to<br />

any user. There is no check to see whether the machine<br />

is a valid Oracle client.<br />

2. Enter values for host name, user name, and<br />

password — the same values you use to log in<br />

from any Oracle client. OR:<br />

Choose a name from the drop-down list of<br />

recently-used items. When you choose an item<br />

from this list, it automatically fills in the user<br />

name, and the password if Save password was<br />

checked when the item was created.<br />

NOTE: The first time you bring up the Oracle<br />

Connection dialog box there is no list of recent items, so<br />

ChemFinder offers to create one for you. If you accept, it<br />

generates a list of all available hosts, as found in the file<br />

tnsnames.ora created during Oracle client<br />

configuration.<br />

The database is opened and the list of tables<br />

displayed.<br />

NOTE: The list of tables shown in the tree consists of<br />

all tables and views owned by the current user, plus those<br />

to which the user has been granted certain privileges. To<br />

see the details, you can turn on SQL tracing while a<br />

database is being opened.<br />

3. Proceed as you would for any ChemFinder<br />

database: click to select the table you want to<br />

display, set other desired options, and check<br />

the box on the Form tab if you want to generate<br />

a form automatically.<br />

Notice the new Oracle tab of the dialog,<br />

described in See “Setting Oracle Preferences”<br />

on page 356. The features on this tab are<br />

mainly for advanced users and do not require<br />

adjustment.<br />

NOTE: The Oracle tab appears in the Properties<br />

dialog only when an Oracle database is open.<br />

4. Click OK.<br />

The database opens, in a display form if you<br />

requested one.<br />

The Database Wizard can also be used to open an<br />

Oracle database. A button on the Wizard labelled<br />

CS Oracle Cartridge brings up the appropriate<br />

Oracle parts of the process.<br />

When you have opened an Oracle database, note<br />

that some Properties dialog tabs show entries not<br />

available in ChemFinder, including:<br />

• Database tab: CS Oracle Cartridge version if<br />

any.<br />

• Table tab: Table owner name; name of primary<br />

index if any.<br />

• Field tab: Oracle native data type name; name<br />

of associated index if any.<br />

When you open an Oracle database and select a<br />

table, ChemFinder/Oracle gathers information<br />

about the columns. If you open a table you know to<br />

354•ChemFinder/Oracle<br />

<strong>CambridgeSoft</strong><br />

Opening an Oracle Database

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!