Caporegime
- Joined
- 13 May 2003
- Posts
- 34,559
- Location
- Warwickshire
Hi all
I am trying to design an Access database for work. It is a sales database that needs to be able to take sales orders and analyse them by business sector, salesman responsible, customer etc. and be able to keep tabs on the original currency of each order as well as each invoice that has been raised against each order. It's mainly these last two bits that I'm struggling with.
Here is the layout as it stands:
One problem I have is that one order may have many shipments, but at the moment the one-to-many goes from shipments to orders instead of the other way round, so that I'm telling Access that one shipment might have many orders instead of the other way round. I also cannot immediately see how to relate the currencies correctly.
I need to be able to change the exchange rates for each currency on the main menu form, and have that instantly update the Euro values for each record. I also need to be able to say this about any given order:
'Order #12345 was shipped in three separate stages on three separate dates and with three different invoice amounts.'
Very grateful if you can point me in the right direction. I should probably say that I'm aware that I haven't normalised all data correctly, for example the customers table could be split into say customer details and customer address, but any helpful criticism will help me learn and is appreciated.
EDIT: I've had a play and come up with this. Should work I think? Can anyone spot any problems / bad database technique?
I am trying to design an Access database for work. It is a sales database that needs to be able to take sales orders and analyse them by business sector, salesman responsible, customer etc. and be able to keep tabs on the original currency of each order as well as each invoice that has been raised against each order. It's mainly these last two bits that I'm struggling with.
Here is the layout as it stands:

One problem I have is that one order may have many shipments, but at the moment the one-to-many goes from shipments to orders instead of the other way round, so that I'm telling Access that one shipment might have many orders instead of the other way round. I also cannot immediately see how to relate the currencies correctly.
I need to be able to change the exchange rates for each currency on the main menu form, and have that instantly update the Euro values for each record. I also need to be able to say this about any given order:
'Order #12345 was shipped in three separate stages on three separate dates and with three different invoice amounts.'
Very grateful if you can point me in the right direction. I should probably say that I'm aware that I haven't normalised all data correctly, for example the customers table could be split into say customer details and customer address, but any helpful criticism will help me learn and is appreciated.
EDIT: I've had a play and come up with this. Should work I think? Can anyone spot any problems / bad database technique?

Last edited: