The property is a bitmask, but I don't believe you can alter it once the
relation has been created.
AFAIK, you have to delete the relation and recreate it to change the
attribute.
BTW, bit 8192 is not documented, but seems to represent the Cascade-to-Null
relation (where relational integrity it maintained by setting the foreign
key to null when the primary record is deleted.)
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Captain Nemo" <ne**@nospam.com> wrote in message
news:Hj*****************@text.news.blueyonder.co.u k...
I'm running Access 2000, using DAO.
According to the Object Browser, each member of the Relations collection
has
a property, Attributes. This value appears to be a bitmask, formed by
ANDing various constants which denote the properties of that relation:
"Enforce Referential Integrity", "Cascade Updated Fields", etc.
This property is not marked as Read Only and yet I can't find a way of
modifying it using VBA.