G12Consult
Programmer
Hi am looking for some advice on best practice for the following scenario.
I have a table which contains a list of financial assets - Credit Card, Home Loan, Owned Property
When I user selects a financial asset at the front end, I want to record further information regarding the product they selected, however each of these products will have different information required.
e.g. Credit Card selected
Get user to provide Bank Name, Credit Limit
Owned Property selected
Get user to provide Address Details, Suburb, Postcode
So from the above, different types of information?
How would I record this in a table without having to have a table for each asset.
One way I was thinking was to maybe have one table but have fields like Info 1, Info 2, Info 3, Info 4 and use the application at the frontend to populate specific fields depending on what financial asset was selected.
I have a table which contains a list of financial assets - Credit Card, Home Loan, Owned Property
When I user selects a financial asset at the front end, I want to record further information regarding the product they selected, however each of these products will have different information required.
e.g. Credit Card selected
Get user to provide Bank Name, Credit Limit
Owned Property selected
Get user to provide Address Details, Suburb, Postcode
So from the above, different types of information?
How would I record this in a table without having to have a table for each asset.
One way I was thinking was to maybe have one table but have fields like Info 1, Info 2, Info 3, Info 4 and use the application at the frontend to populate specific fields depending on what financial asset was selected.