If you've used the BuildODBC command to build the connection string, this command logs on with the connection string in the buffer. If there is no connection string in the buffer, an error occurs.
Syntax
LogonNow([dialog])
dialog Determines whether dialog boxes are displayed at logon time. Can be one of the following values.
Value | Description |
---|---|
0 (zero) | No dialog boxes are displayed. If this argument is omitted, the default value is 0 (zero). |
1 | Dialog boxes are displayed to obtain additional information from the user not provided by the connection string. |
2 | Dialog boxes are displayed with values from the connection string filled in as default values. |
3 | Same as 1, except that information not required to connect to the data source appears dimmed. |