S
skmwenda
I am trying to create a generic importation VBA function in access database.
(I will link the external tables of a similar database and then import their
data into the local tables.)
For starters, the function should get a list of the tables in the local
database, ordered by their primary/foreign key, so as to allow importation
based on table relationship rules.
Therefore i am trying to do something similar to the following:
http://education.sqlfarms.com/education/ShowPost.aspx?PostID=50 , but in
access VBA.
I therefore need help getting a list of the local tables, ordered in such a
way as to allow inserts (the tables with primary keys to be listed before
those with corresponding foreign keys)
Kindly help
(I will link the external tables of a similar database and then import their
data into the local tables.)
For starters, the function should get a list of the tables in the local
database, ordered by their primary/foreign key, so as to allow importation
based on table relationship rules.
Therefore i am trying to do something similar to the following:
http://education.sqlfarms.com/education/ShowPost.aspx?PostID=50 , but in
access VBA.
I therefore need help getting a list of the local tables, ordered in such a
way as to allow inserts (the tables with primary keys to be listed before
those with corresponding foreign keys)
Kindly help