DBConnect Action |
Establishes a connection to a data source. UseThe DBConnect action establishes a physical connection to an ADO or DDM database. After this action successfully completes, the connection is live and you can issue commands against it and process the results. When you have concluded your operations over an open connection, use the DBClose action to terminate the connection and free any associated system resources. ParametersConnection - (Required) A name that you assign to the connection object that represents the connection to the data source. The connection will be referred to by this name in all subsequent DB actions. For example, your Connection name might be "CustDBConnection". Server - (Required) The type of data source to which you are connecting. Use one of the pre-defined Server constants. Connection String - (Required) This parameter consists of semi-colon separated name/value pairs that specify the database or server and all relevant connection properties. The contents of the connection string can vary, depending upon the data source or server that is used for the connection. Each name/pair value is formatted as 'name=value'. For example:
Clicking the prompt button ![]() Provider TabSelect the data you want to connect to from the list provided. For more information on the different OLE DB providers click the Help button on the Data Link Properties dialog window. Connection TabUse the Connection tab to specify how to connect to ODBC data. The Connection tab is provider-specific and displays only the connection properties that are required by the Microsoft OLE DB Provider for ODBC. For more information of the different options on this tab click the Help button in the bottom right corner of the dialog window. Advanced TabUse the Advanced tab to view and set additional initialization properties for your data. The Advanced tab of the Data Link Properties dialog box is provider-specific and displays only the initialization properties required by the selected OLE DB provider. For more information about advanced initialization properties, click the Help button in the bottom right corner of the dialog window. All TabUse the All tab to view and edit all OLE DB initialization properties available for your OLE DB provider. Properties can vary depending on the OLE DB provider you are using. ![]() Connection TabSpecify the details necessary to connect to the DDM server. This tab provides you with two options for connecting:
Use defined connection - select this option to specify a pre-established host connection definition from the drop down list. Refer to Connections for help on how to create a host connection using the Connection editor. Specify connection options - select this option if you would like to define the connection manually.
Advanced TabUse the Advanced tab to view and set the following initialization properties for your data: Access Permissions - Specifies the access permissions that will be applied to the data connection. Access permissions apply to host file locks and do not apply to record locks. Use a combination of one or more of the following values:
This argument is only used for database connections. Isolation level - The transaction isolation level, or commit lock level, for the connection. Use one of the following values:
This argument is only used for database connections. Binary as Character - Process binary fields (CCSID of 65535) as character data type fields. Can be set to True or False. This argument is only used for database connections. ![]()
See AlsoDBDisconnect Action | DBOpen Action | DBClose Action | DBFind Action | DBMove Action | DBAddNew Action | DBBeginTrans Action | DBCancelUpdate Action | DBCommitTrans Action | DBDelete Action | DBRollbackTrans Action | DBSeek Action | DBUpdate Action | ConnectionString property | Data Access | ConnectionString Property |
|
© 2004-2021 looksoftware. All rights reserved.
|