Unit ADOConWizard

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

ADOConWizard is non visual component which provides all functions for connecting to database using TADOConnection and UDL files. ADOConWizard can use more external UDL files for generating of connection string, so one application can work under several systems (which uses different connection string).

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TADOConWizard  

Functions and Procedures

procedure Register;

Types

TProviderType = (...);
TConnectionEvent = (...);
TConnectionEvents = set of TConnectionEvent;
TOnInfo = procedure(Sender: TObject; Info: string) of object;
TOnGetDBFilePassword = procedure(Sender: TObject; var UserID, Password: string) of object;
TOnLoginUser = procedure(Sender: TObject; var Logon: boolean) of object;
TOnOpenTables = procedure(Sender: TObject; var Opened: boolean) of object;

Description

Functions and Procedures

procedure Register;
 

Types

TProviderType = (...);
 
Values
  • ptNone:  
  • ptMSDA:  
  • ptJET:  
  • ptACE:  
  • ptSQLOLEDB:  
TConnectionEvent = (...);
 
Values
  • AfterConnecting:  
  • AfterLogin:  
  • AfterOpening:  
TConnectionEvents = set of TConnectionEvent;

Defines events when error dialog can be shown

TOnInfo = procedure(Sender: TObject; Info: string) of object;

Procedure is called for each step in connection, action is described by "Info" string

TOnGetDBFilePassword = procedure(Sender: TObject; var UserID, Password: string) of object;

Procedure is called before connecting to obtain User and Password to file

TOnLoginUser = procedure(Sender: TObject; var Logon: boolean) of object;

Procedure is called after connecting to DB before opening of tables, so it allows to make user logon; if parameter Logon is changed to false, DB is disconnected

TOnOpenTables = procedure(Sender: TObject; var Opened: boolean) of object;

Procedure is called after user logon, so it allows to open all tables; if parameter Opened is changed to false, DB is disconnected


Generated by PasDoc 0.13.0 on 2017-06-17 14:57:21