|
<< Click to Display Table of Contents >> RINTDesc (referential integrity) |
![]() ![]()
|
The RINTDesc structure describes the referential integrity options for a table (currently Paradox and dBASE only), using the following fields:
Field |
Type |
Description |
iRintNum |
UINT16 |
Specifies the referential integrity number. |
szRintName |
DBINAME |
Specifies the referential integrity name. |
eType |
RINTType |
Specifies the type, either rintMASTER or rintDEPENDENT. |
szTblName |
DBIPATH |
Specifies the other table name. |
eModOp |
RINTQual |
Specifies the modify qualifier, either rintRESTRICT or rintCASCADE. |
eDelOp |
RINTQual |
Specifies the delete qualifier, either rintRESTRICT or rintCASCADE. |
iFldCount |
UINT16 |
Specifies the number of fields in the linking key. |
aiThisTabFld |
DBIKEY |
For Paradox, specifies the field numbers that make up this referential integrity constraint in this table. For dBASE, specfies the index ID that make up the referential integrity constraint in this table. |
aiOthTabFld |
DBIKEY |
For Paradox, specifies the number of fields in the other table. For dBASE, specfies the index ID in the other table. |
For more information on referential integrity options, see Integrity Constraints.