I am building a database in Acess 2007 and I have three tables housing data...one table houses the main data, one houses fiscal data and the third houses accounting line data. tblMain has a primary key set to auto number, tblFiscal and tblAccountingLine both have their ID field set to number (no primary key, as they need to allow duplicate values).
What I want is to have the primary key from tblMain be automatically inserted into the ID field of tblFiscal and tblAccountingLine...
The reason I need this is to auto-populate these fields in the forms for entering the data...right now I have to enter it manually to keep all of the data linked properly.
Thank you
What I want is to have the primary key from tblMain be automatically inserted into the ID field of tblFiscal and tblAccountingLine...
The reason I need this is to auto-populate these fields in the forms for entering the data...right now I have to enter it manually to keep all of the data linked properly.
Thank you