G
Guest
Doe anyone know how to programmatically create a link between 2 tables and
also break a link between 2 tables?
Thank you,
Sarah
also break a link between 2 tables?
Thank you,
Sarah
Doe anyone know how to programmatically create a link between 2 tables and
also break a link between 2 tables?
Thank you,
Sarah
Sarah said:Thanks for the clarification Albert. I am talking about a relational join
of
data
between two tables in the same mdb file. Is there any way of doing this
in
code without physically going to the Relationships screen and making the
join?
Marshall Barton said:In addition to Albert's "harsh words", you should be aware
that any table can be joined to any **related** table simply
by using them in a query with the desired type of Join. The
query then can be used as a virtual table in any other
query/form/report.
True relationships are intended for the purpose of enforcing
referential integrity. Enforcing referential integrity
makes no sense in a situations where the relationships are
changed on the fly in a running application. The only time
where this is the right thing to do is as part of a one time
installtion process where you must add a new related table
to an existing backend database. [Well, there are a couple
of other situations, but they are rather esoteric.]
--
Marsh
MVP [MS Access]
Thanks for the clarification Albert. I am talking about a relational join of
data
between two tables in the same mdb file. Is there any way of doing this in
code without physically going to the Relationships screen and making the join?
Delete a relational join between 2 tables
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.