I am hoping to avoid future problems. My question involves incomplete entries into tables. Will they have negative future consequences and if so how do we deal with them?
Here’s the situation: Each of our clients has an asset allocation to fit their needs. One client may require 40% equities, 60% bonds and another 20/80 or whatever. I have a form that allows the user to make a selection from a combo box to select the asset class (equity, bond, etc) and another field so they can enter the percentage. This is stored in a table with an autonumber PK called AllocationGuidelineID, a client ID field, asset class field, and percentage field.
Each entry is a separate record in the table i.e. the 40/60 split above would be two separate and unique entries into the table, one for the client’s bond and one for the equity allocation. I think this is the correct method but let me know if it is not.
Here’s the question: If a user selects an item from the combo box for a client and then changes their mind or realizes they are making a mistake the table will have an entry but it will be incomplete. The only populated fields would be the PK because it is an autonumber and the Client ID. The asset class and percentage fields would be blank. Is this a problem?
Do database administrators set aside time to periodically clean these entries out or do they leave them be because they are harmless?
I realize I could set a required field on the percentage field and this would not let the record be created but I would like to assume for this learning example that the empty record is created.
Hope I have not muddled this for you.
Kind regards, Dwight
Here’s the situation: Each of our clients has an asset allocation to fit their needs. One client may require 40% equities, 60% bonds and another 20/80 or whatever. I have a form that allows the user to make a selection from a combo box to select the asset class (equity, bond, etc) and another field so they can enter the percentage. This is stored in a table with an autonumber PK called AllocationGuidelineID, a client ID field, asset class field, and percentage field.
Each entry is a separate record in the table i.e. the 40/60 split above would be two separate and unique entries into the table, one for the client’s bond and one for the equity allocation. I think this is the correct method but let me know if it is not.
Here’s the question: If a user selects an item from the combo box for a client and then changes their mind or realizes they are making a mistake the table will have an entry but it will be incomplete. The only populated fields would be the PK because it is an autonumber and the Client ID. The asset class and percentage fields would be blank. Is this a problem?
Do database administrators set aside time to periodically clean these entries out or do they leave them be because they are harmless?
I realize I could set a required field on the percentage field and this would not let the record be created but I would like to assume for this learning example that the empty record is created.
Hope I have not muddled this for you.
Kind regards, Dwight