Description Open a database for a given McDBDatabase Logical Name or McDBDatabase Item Key
-
Return Type
-
A McDBDatabase object. A reference to the opened database or Nothing for a failure.
-
Syntax
-
object.OpenDatabase (sDBLogicalName, [bAllowPromptForSecure])
The OpenDatabase Method syntax has these parts: |
| object | An expression evaluating to an object of type McDataManager. | | sDBLogicalName | Required. A String value. A given logical name (McDBDatabase.Name) or Item Key (Format: Server:Name) specifying the database to open. (See also GetMcDBDatabasesItemKey()) | | bAllowPromptForSecure | Optional. A Boolean value. When True (default) UserName and Password will be prompt for secure databases; otherwise fail. | Remarks If the database is already open this function will just return the reference.
|