Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_ScripterSQL Script Generation and Processing

Public Function ConstraintIsRelation (
ConstraintName As String,
dbs As DAO.Database
) As Boolean

Is the constraint also a database Relation ? In MS Access, any foreign key constraint is associated with a DAO Relation object.

ConstraintName as String

The relationship name

dbs as DAO.Database

The DAO Database object that the constraints and relations belong to

Call Template:

Dim b As Boolean
b = xf.Scripter.ConstraintIsRelation(ConstraintName, dbs)

See Also:

Example 1:

Debug.Print ConstraintIsRelation("FK_tblProductID_CategoryID", dbs)   --> True
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd