Unit DB_Rbld3

Classes

Functions

prbAddRefInt - Disposes the handle obtained through prbGetDatabaseRintshandle

master tables are at the beginning
prbDropDatabaseRints - Gets a handle to the description of all ref integrities in the database
prbFreeDatabaseRintshandle - Restores all integrities described by the handle
prbGetDatabaseRintshandle - -------------------------------------------} { handle in the following routines is tList } {-------------------------------------------
prbRestoreDatabaseRints - Drops all ref.

Types

Constants

Variables


Functions


Procedure prbAddRefInt(Dbsename, { table names are CASE sensitive } MasterTbl, DetailTbl, MasterKeys, Detailkeys, Rintname: pChar; ModifOp, {rintRESTRICT,rintCASCADE} DeleteOp: RINTQual);

Disposes the handle obtained through prbGetDatabaseRintshandle

master tables are at the beginning


procedure prbDropDatabaseRints(szDbsename: pChar; rintshandle: Longint);

Gets a handle to the description of all ref integrities in the database

procedure prbFreeDatabaseRintshandle(rintshandle: Longint);

Restores all integrities described by the handle

procedure prbGetDatabaseRintshandle(szDbsename,szFortablename: pChar; var rintshandle: Longint; var RintsOK: wordBool);

-------------------------------------------} { handle in the following routines is tList } {-------------------------------------------

procedure prbRestoreDatabaseRints(szDbsename : pChar; pszKViolTbl: pChar; VAR ProblemRint: pRintDesc; rintshandle: Longint);

Drops all ref. integrities described by the handle

Types


Constants


Variables