MattBaldry
Self Taught, Learn from the Forums
- Local time
- Today, 00:26
- Joined
- Feb 5, 2019
- Messages
- 330
Hello all. I am after some advice on a database I have built but thinking it may not be the most efficient way. At the moment I have the below tables.
tblCustomer
tblCustomerContact
tblCustomerDeliveryAddress
tblSalesOrder
tblSalesOrderItem
So I add the customer. The customer may have more than one delivery address so I add them in the relevant table via an entry form.
Now, when this customer places an order, at the moment I link the delivery address via the DeliveryAddressID to the order.
My thoughts on this are, this would only show the current data for the ID and not the data that was in place when the order was raised. Someone may edit the data by mistake so the order would in future show the edited, incorrect data and not the address as it was when the order was raised.
Would it be more efficient to use a drop down to select the delivery address, but then insert this data into the tblSalesOrder with fields named the same, or is this bad practice?
~Matt
tblCustomer
tblCustomerContact
tblCustomerDeliveryAddress
tblSalesOrder
tblSalesOrderItem
So I add the customer. The customer may have more than one delivery address so I add them in the relevant table via an entry form.
Now, when this customer places an order, at the moment I link the delivery address via the DeliveryAddressID to the order.
My thoughts on this are, this would only show the current data for the ID and not the data that was in place when the order was raised. Someone may edit the data by mistake so the order would in future show the edited, incorrect data and not the address as it was when the order was raised.
Would it be more efficient to use a drop down to select the delivery address, but then insert this data into the tblSalesOrder with fields named the same, or is this bad practice?
~Matt