
Originally Posted by
shadow
What I want is when a new user, TC, or GLA is entered, not only is it stored in the combo box, but it also goes to the 3 tables I created for each of them, since they already show up on my main able. Would I append the tables to each other?
I still have no idea why you seem to duplicating data, but it's none of my business.
Append operations are simple, but they can only be done for complete records if the number of fields AND those fields' data types are all compatible between the 2 tables. So, after a record entry in the main table, if you want to append that new record to the other 3 tables, you could run 3 append statements in a code module, which would be the quickest way to do so. If you're only interested in appending partial record data from your main to the other 3, simply make sure that the number of fields between the 2 match and the data types are compatible.
For instance, if you tried to execute this:
Code:
INSERT INTO table2 (userid, username)
SELECT username, userid FROM maintable
Access will say something like "couldn't append 1 record due to data type conversion error".
So make sure to comply with its rules, or it will shout back at you.