Hello All,
I'm just starting to prototype this db so I don't have anything to .zip up to the site but can someone please tell me if I'm on the right track or offer a clue as to how to execute the following:
Can I create a form, and on a button click that form automatically generates a new table. I already know the fields of this table, so those fields and data types will be constant elements every time a new table is generated. The key piece of this issue, is that upon the creation of the new table, it automatically links (builds a relationship) to another table?
Background:
I have a loan, lets say XYZ Bank. This loan has "subloans" attached to it, these subloans are called a "tranche." So I may have XYZ Bank Tranche 1, and XYZ Bank Tranche 2... what if the user wants to create a third tranche? I want them to have that ability. I think its good db design to have each tranche in its own table, please tell me if I'm wrong on this.
When user adds the third tranche, they're going to input "starting details" which will include the borrowed amount in the new tranche, fees, and interest rate.
Right now I have a base table, just called "Loans" where I'm only storing the name of each loan. I'm thinking the PKey from Loans needs to be the FKey for each tranche so that the data always stays related.
Any help is much appreciated. I'm somewhat new to Access and VBA.