@oguruma1218,
I will bypass the many, many, many negative aspects of the undertaking.
Based upon what is presented already, the only possibility is by using macros. I can give some type of sample but need to understand some of the process. So main table is expense. OK. Next is Line_Items. Can have multiple per Expense. OK.
Last is transaction. Now since you are entering a new item, there is no key until the transaction is saved. Now you state:
Each Transaction also has MANY Line_Items.
So how is it known that the Line_Item which is displayed is the one to be attached? What if it already has an ID in it? Could it be a correction? Could it be an incorrect Line_Item? Or other choice - don’t care just enter the ID? And how do you want to attach this transaction to many Line_Items?
Please some description of the process.
Edit:
Also, since the Transaction entered is going to add information to Line_Items, how is that to be saved - user or another macro?