LoginConnectIdBase - cConnection

Attempts the actual login

Type: Function

Return Data Type: Integer

Parameters: String sId Boolean bSilent

ParameterDescription
sIdConnection ID
bSilentDetermines whether a login dialog should be presented if the login attempt fails


Return Value

Status: 0 = Success, 1 = Failed


Syntax
Function LoginConnectIdBase String sId Boolean bSilent Returns Integer

Call: Get LoginConnectIdBase sId bSilent to IntegerVariable


Description

LoginConnectIdBase attempts the actual login.

First, it attempts a silent login using the credentials that were defined during the add connection process.

If this fail and the bSilent parameter is False, it calls LoginConnectIdDialog, which will optionally pop up a database login dialog.

It returns success or failure. An error status is returned (see piErrorNumber, piErrorLine and psErrorText).