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.