17.11.2014 Views

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1. Draw the form shown below, using the<br />

Framed box tool.<br />

The Box Properties dialog box appears with<br />

the Database tab displayed.<br />

NOTE: The “Data Source” option is only available in<br />

Layout mode. Make sure the Layout mode toggle<br />

button is depressed before performing this step.<br />

2. From the File menu, choose Save As.<br />

3. In the Save As dialog box, save the form as<br />

tut1.cfw in the directory of your choice.<br />

4. From the File menu, chose Close.<br />

Tutorial 2: Opening a<br />

Database<br />

After you create a form, you can use it to connect<br />

to a database that actually stores information. In<br />

this tutorial, you use the form you saved as<br />

“tut3.cfw” in the previous tutorial to access and<br />

retrieve information from an existing database.<br />

Connecting a Database to a<br />

Form<br />

To connect a database to your form:<br />

1. From the File menu, choose Open.<br />

The Open dialog box appears.<br />

2. Select tut1.cfw and click Open.<br />

The form you created in the previous tutorial<br />

appears, but all of its fields are blank You can<br />

use this form to display the demonstration<br />

database.<br />

3. Right-click the Structure box and choose Data<br />

Source.<br />

4. Click Open Database.<br />

NOTE: The Open and Create Database buttons<br />

work with ChemFinder databases only. To access data<br />

in other types of databases, use the Attach Table or the<br />

Oracle button (if available). For more information<br />

about data sources, see “Attaching Tables from Other<br />

Applications” on page 289.<br />

The Open dialog box appears.<br />

ChemFinder<br />

5. Select CS_demo.mdb and click Open.<br />

<strong>ChemOffice</strong> 2005/ChemFinder ChemFinder Tutorials • 233<br />

Tutorial 2: Opening a Database

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

Saved successfully!

Ooh no, something went wrong!