Parameter | Description |
---|---|
sId | Connection ID |
Status: True = Success, False = Failed
Function LoginConnectIdDialog String sId Returns Boolean
Call: | Get LoginConnectIdDialog sId to BooleanVariable |
LoginConnectIdDialog pops up a database login dialog, which will allow the user to log in and store the login credentials.
This is controlled by pbLoginDialogRequired. If false, no login attempt occurs. If true, this will send LoginConnectIdDialog to the database login dialog.
This dialog is identified by the ghoLoginConnectDialog property, which must be set when pbLoginDialogRequired is true. This is normally set by the database login dialog when it is created, which is typically done by adding the DatabaseLoginDialog.dg package to your application.
It returns success or failure. An error status is returned (see piErrorNumber, piErrorLine and psErrorText).