Drop Relations

K

Klaus L Jensen

I need to know how to drop / create relation..

ALTER TABLE <table> DROP CONSTRAIN <relation>

does not work



Please help


Med venlig hilsen
Klaus Ladegaard Jensen
 
R

Roger Carlson

It should. Here's one that works for me:
ALTER TABLE BookSQL DROP CONSTRAINT PubBook;

I *think* the table has to be on the Many-side of the relationship.

You can also use DAO:
Dim db As DAO.Database
Set db = CurrentDb
db.Relations.Delete "PubBook"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top