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.

The Section Type Configuration dialog<br />

appears.<br />

Administrator<br />

3. Right-click Fields, and select New Field....<br />

The Add Field dialog appears.<br />

The Properties dialog appears.<br />

4. Enter a name, and select Database Table from<br />

the drop-down list of field types.<br />

5. Click Add.<br />

The new Field appears in the list of Fields.<br />

See “Configuring a Database Table Field” on page<br />

512 for instructions on defining the data to be<br />

displayed in the Field.<br />

Once you have added a field to the section type, you<br />

may add it to the form for the section type. See<br />

“Configuring a Form” on page 492 for more<br />

information.<br />

Configuring a Database Table Field<br />

Database Table Fields are used to display data that<br />

is pulled in from a database.<br />

To configure a Database Table Field:<br />

1. Right-click the Database Table Field in the<br />

Section Type Configuration dialog, and select<br />

Field Properties from the menu that appears.<br />

2. Enter the following information. (See below<br />

for examples).<br />

• Connection String – A string used to<br />

define a connection to a database. If this<br />

string is 0-length (Null in the database), then<br />

it is assumed to be a connection to the<br />

primary schema of the E-Notebook<br />

database. If the string is a path to an .mdb<br />

file, then a connection is made to that file<br />

using the Microsoft Access OLEDB<br />

provider. Otherwise, the string is treated as<br />

a valid string that can be assigned to an<br />

ADODB.Connection object’s<br />

ConnectionString property.<br />

• Username – An optional string used to<br />

specify the logon identification required to<br />

connect to the specified database. If the<br />

Username is 0-length and the Connection<br />

String is 0-length, then the owner of the<br />

primary schema of the E-Notebook<br />

database is used as the username.<br />

512• Managing Fields <strong>CambridgeSoft</strong><br />

Managing Data Fields

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

Saved successfully!

Ooh no, something went wrong!