viscounthamworthy
Technical User
My database is to keep track of trust funds. Each trust can have one tax return, one billing entry and one set of accounts. So, the master table is TBL_TrustsExtant. This table has a one to one relationship with the three minor tables, TBL_TaxReturns, TBL_Billing and TBL_Accounts. Referntial Integrity is set to cascase upwards.
Trust_ID is the PK in the main table and is an autonumber. Trust_ID is the FK in the minor tables. The PKs of the minor tables are autonumbers, such as Tax_ID,Billing ID etc.
All tables have 245 records in them. Why is it that when I add a new record in table datasheet mode (ie entry 246), the three minor tables still only have 245 records in them? I want the new PK entry in the main table to become a new FK entry (and thereby trigger the autonumber PK) in the minor tables.
Similarly, when I try this via form and subform, I cannot proceed, as the subform is looking for a FK equivalent to the PK for the record that has just been created?
I really am lost on this. Any help would be much appreciated.
Trust_ID is the PK in the main table and is an autonumber. Trust_ID is the FK in the minor tables. The PKs of the minor tables are autonumbers, such as Tax_ID,Billing ID etc.
All tables have 245 records in them. Why is it that when I add a new record in table datasheet mode (ie entry 246), the three minor tables still only have 245 records in them? I want the new PK entry in the main table to become a new FK entry (and thereby trigger the autonumber PK) in the minor tables.
Similarly, when I try this via form and subform, I cannot proceed, as the subform is looking for a FK equivalent to the PK for the record that has just been created?
I really am lost on this. Any help would be much appreciated.