chris davies
Registered User.
- Local time
- Today, 15:09
- Joined
- Mar 20, 2005
- Messages
- 86
Hi Folks,
I am creating a database for a friend, the database has four main tables and and one intermediary table ( to remove any many to many relationships) I have popluated the DB with some test data manually and my queries thus far appear to be working correctly. What I need to know now is, is is possible to populate all these tables using one form?
For example, one table consists of four foriegn keys, all concatenated to form one primary key, to take care of any possible data redundancy or duplication in any of the other four tables.
My friend collect star wars autographs, so if you can imagine that one actor can play more than one role in more than one film and that different actors can play the same character as someone else in the same film.
So my immediate problem is to populate the four main tables and each primary key from each table to the intermediary table. If this is possible, couls someone please give me a pointer on how to handle inserting the the main data and primary keys into each table using a command button please?
I have posted a copy of my database if this will make things clearer, bearing in mind it is only populated with a small amount of test data. You can see from the Character Query that the results appear quite corrrectly. It's the VBA that I need to get to grips with.
I am hoping there is an intelligent individual here somewhere, from whom I could I gain some advice on this.
Thanks to all in advance, any and all replies accepted gratefully.
I am creating a database for a friend, the database has four main tables and and one intermediary table ( to remove any many to many relationships) I have popluated the DB with some test data manually and my queries thus far appear to be working correctly. What I need to know now is, is is possible to populate all these tables using one form?
For example, one table consists of four foriegn keys, all concatenated to form one primary key, to take care of any possible data redundancy or duplication in any of the other four tables.
My friend collect star wars autographs, so if you can imagine that one actor can play more than one role in more than one film and that different actors can play the same character as someone else in the same film.
So my immediate problem is to populate the four main tables and each primary key from each table to the intermediary table. If this is possible, couls someone please give me a pointer on how to handle inserting the the main data and primary keys into each table using a command button please?
I have posted a copy of my database if this will make things clearer, bearing in mind it is only populated with a small amount of test data. You can see from the Character Query that the results appear quite corrrectly. It's the VBA that I need to get to grips with.
I am hoping there is an intelligent individual here somewhere, from whom I could I gain some advice on this.
Thanks to all in advance, any and all replies accepted gratefully.