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.
Useful schema related functions
Is the constraint also a database Relation ? In MS Access, any foreign key constraint is associated with a DAO Relation object.
Delete the table, first removing all database relations involving it
Delete all indexes on the table that contain the specified column
Does the field have an FK relationship with another table ?
Reset the AutoNumber seed value for the table.
For Access linked tables, a bug means that inserting to the Autonumber column resets the autonumber seed to the value following that inserted.
FixAutonumberCol() sets it back to MAX(autonumbercolumn) + 1
Return the name of the table's AutoNumber column, or empty string if none
Return the table's column names as a comma separated list.
Return the column name(s) in the primary key as a collection.
Return the column name(s) in the primary key as a comma separated list.
Is the column part of the passed table index ?
Return the index's field/column names as a comma separated list.
Is the field/column part of the passed relationship ? In MS Access, any foreign key constraint is associated with a DAO Relation object.
Return the relation's field/column names as a comma separated list.
In MS Access, any foreign key constraint is associated with a DAO Relation object.
Is the column name part of the primary key ?
Is the table an Access linked table ?
Turn off table subdatasheets in the database since they cause corruption