S
SJ
I have an Access app where users point to a database and I link to the
tables. The new requirement is that they would like to point to two
databases with the same table and field names and use it as the datasource.
There is not a primary key on any of the tables I link to. In addition,
there is some data that is repeated in both databases. The combined file
should only contain unique values between the two databases.
I need to combine the all the tables in each of the two databases into one,
but with unique values only. I am thinking of using a SELECT DISTINCT from
the UNION ALL of the two tables in each database, but I am open to
suggestions.
If anybody can point me to sample code to get started, it would be
appreciated.
tables. The new requirement is that they would like to point to two
databases with the same table and field names and use it as the datasource.
There is not a primary key on any of the tables I link to. In addition,
there is some data that is repeated in both databases. The combined file
should only contain unique values between the two databases.
I need to combine the all the tables in each of the two databases into one,
but with unique values only. I am thinking of using a SELECT DISTINCT from
the UNION ALL of the two tables in each database, but I am open to
suggestions.
If anybody can point me to sample code to get started, it would be
appreciated.