Using a data connection resource on a form
About this task
In order to establish a connection to an external data source, you must first enable external connections for the database. Then you define a data connection resource (DCR). To use this resource to establish a link between Notes and an external application, you use the DCR in a form. You define fields on the form that map to the data you are retrieving from the external application. When you define a field, you mark it as an external data source and associate it with the DCR.
To specify a default data connection for a form
About this task
If you are planning to use a DCR in more than one field on a form, you can specify a default data connection, and, optionally, a default metadata object such as a table or view. When you create a field for use with an external data source, the default information for the data connection is supplied automatically. You can overwrite the default DCR with a different DCR if you wish.
Procedure
- Create or open a form.
- Choose Design - Form Properties to display the properties box.
- Click the Defaults tab.
- In the "Data Source Options" section, you can browse for a data connection resource or enter the name in the "Default Data Connection" field.
- Optional: Specify a "Default metadata object," such as a table or view name, from the external application.