Hi Armen,
good question....I am used to working with Lotus Approach
which only shows the first record of each link. If you want to show more it
has a separate procedure. Effectively I want to "ignore" or "delete" the
other records.Possible scenario
Table 1 Table2 Table3
45000 45000 45000
45001 45000 45000
45002 45001 45000
I just want one record from each table.....If this is not possible then I
will need to consider deleting the records when I update the linked table.
thanks for your time
Are you sure you don't want one-to-many relationships? Are there any
other fields in the duplicate records in tables 2 & 3 that you need?
If you really want one-to-one and remove the duplicates:
If this is a one-time thing, and you won't need to get the external
tables again, you can create new tables for 2 & 3 and make their keys
unique. Then run an append query to copy all the records in. The
first record for each key will make it in, but all the duplicates will
fail with error messages.
If you need to keep these external tables up to date, the problem is
more difficult. You could repeat the above routine periodically. But
to have the data truly live from the other system, you will need to
build totals queries on tables 2 & 3 that eliminate the duplicates,
then join your table 1 with those queries. This resulting query will
not be updatable (since it involves a aggregate/totals query) but
you'll at least be able to see how the records match.
Hope this helps,
Armen Stein
Microsoft Access MVP
www.JStreetTech.com