J
jacobh
Hi.
I've created a relation (referential integrity) between to tables manually
in Access.
Now I need to delete the relation/constraint (because I need to delete a
field), but I don't know the name of the constraint.
I need to delete the field "MyField" - by executing SQL queries like
ALTER TABEL MyTable DROP CONSTRAINT MyXXX
ALTER TABEL MyTable DROP MyField
How can I find in Access, where I can see the name of MyXXX? Or is there a
way through the ADO interface to learn the names of relations associated
with a certain field?
I created the field and the relation myself, but now copies of the database
is in use many places, so I need a way to do this by code.
Thanks for any help!
Jacob
I've created a relation (referential integrity) between to tables manually
in Access.
Now I need to delete the relation/constraint (because I need to delete a
field), but I don't know the name of the constraint.
I need to delete the field "MyField" - by executing SQL queries like
ALTER TABEL MyTable DROP CONSTRAINT MyXXX
ALTER TABEL MyTable DROP MyField
How can I find in Access, where I can see the name of MyXXX? Or is there a
way through the ADO interface to learn the names of relations associated
with a certain field?
I created the field and the relation myself, but now copies of the database
is in use many places, so I need a way to do this by code.
Thanks for any help!
Jacob