Hi All
Happy Xmas
Is it possible to use insert query to insert new data into two related tables , the parent and child table in Ms Access.
see the selected data below going into the same tables. The idea here is to create an automatic reversal for any wrong Financial Journal :
Happy Xmas
Is it possible to use insert query to insert new data into two related tables , the parent and child table in Ms Access.
see the selected data below going into the same tables. The idea here is to create an automatic reversal for any wrong Financial Journal :
Code:
SELECT tblJournalHeader.CreateID, tblJournalHeader.DateCreated, tblJournalHeader.Journaltype, tblVoucher.Dr, tblVoucher.Cr, tblVoucher.Descriptions, tblVoucher.FCRate
FROM tblJournalHeader INNER JOIN tblVoucher ON tblJournalHeader.CreateID = tblVoucher.CreateID;