Hello,
I plainly don't know how to import data to an Access database while maintaining all relationships intact. Of the data imported, parts of it go to different related tables.
The database structure is as follows:

I have a program that extracts all the info to input, so I can really tweak at pleasure, either to a text file, excel, or whatever.
My main problem is that as you can see, I have 1:N relationships... and I don't know how to maintain that good while importing the data.
For example, I retrieve the data for a match which can have 0 or lots of goals. The I have to import the match data (each match is identified by an autonumber field "MatchID") and the goals data...
1. How could I correctly send each data to its proper table and more important...
2. How could I set each row on the Goals table relate to the correct MatchID number?
Of course, the same happens to related Players, Cards, etc...
I've look through Internet without success because most of them concentrate on importing data to just one table or in any case, import data to a new blank database that you go on creating the tables as you import the data. I need to continuously add data to the database, so any link or help you can provide would be much appreciated.
Thanks for you help! Cheers!
I plainly don't know how to import data to an Access database while maintaining all relationships intact. Of the data imported, parts of it go to different related tables.
The database structure is as follows:

I have a program that extracts all the info to input, so I can really tweak at pleasure, either to a text file, excel, or whatever.
My main problem is that as you can see, I have 1:N relationships... and I don't know how to maintain that good while importing the data.
For example, I retrieve the data for a match which can have 0 or lots of goals. The I have to import the match data (each match is identified by an autonumber field "MatchID") and the goals data...
1. How could I correctly send each data to its proper table and more important...
2. How could I set each row on the Goals table relate to the correct MatchID number?
Of course, the same happens to related Players, Cards, etc...
I've look through Internet without success because most of them concentrate on importing data to just one table or in any case, import data to a new blank database that you go on creating the tables as you import the data. I need to continuously add data to the database, so any link or help you can provide would be much appreciated.
Thanks for you help! Cheers!