Logon
Applies to
VAccess control
Description
(DEPRECATED - former I*net Data Server only.) This event permits custom handling of the server logon process. It will not be fired unless the control is logging onto a secured IDS server and AutoLogon is set to False.
Syntax
Sub VAccess_Logon(user As String, password As String, database_set As String)
Remarks
This event fires only if the AutoLogon property is set to False. The event has three string parameters that the application must set: user, password, and database_set. When the Logon event is fired and the information given does not result in a successful Logon, the VAccess control will fire the CommError event with the CanRecover parameter set to True. If you attempt another logon, set the Retry parameter to True. This causes the ActiveX to fire the Logon event once again.
As a result, if AutoLogon is False, the handler for this event should provide an escape mechanism or an infinite loop may result.