Hi All,
My 1st post so excuse any obvious short comings, and I am just learning Access so I imagine you may have to be patient with me!
Basically I am trying to design a hotel style db for my business but am getting very confused on the initial table and relationship design that I should be using.
For example for customer orders I have the following design:
tblOrder
tblReservation
tblExtras
tblOrder
Holds the 'header' information customer ID, salesperson, orderdate, etc.
tblReservation
Contains the specific room booked, checkIn, CheckOut date, price
tblExtras
Contains additional charges which may be incurred for the reservation, eg. airport collection, cleaning, etc
Since the final invoice will have to collate the price from tblReservation (which is the base accommodation cost) plus any additional charges from tblExtras and then calculate taxes is this the best design to go with? Or would it be better to try to have just one tblProduct which included both accommodation costs and extras even though both are quite different beasts (eg accommodation prices are calculated using dates and have a range of price bands, and extras do not).
Hopefully someone can point me in the right direction.
My 1st post so excuse any obvious short comings, and I am just learning Access so I imagine you may have to be patient with me!
Basically I am trying to design a hotel style db for my business but am getting very confused on the initial table and relationship design that I should be using.
For example for customer orders I have the following design:
tblOrder
tblReservation
tblExtras
tblOrder
Holds the 'header' information customer ID, salesperson, orderdate, etc.
tblReservation
Contains the specific room booked, checkIn, CheckOut date, price
tblExtras
Contains additional charges which may be incurred for the reservation, eg. airport collection, cleaning, etc
Since the final invoice will have to collate the price from tblReservation (which is the base accommodation cost) plus any additional charges from tblExtras and then calculate taxes is this the best design to go with? Or would it be better to try to have just one tblProduct which included both accommodation costs and extras even though both are quite different beasts (eg accommodation prices are calculated using dates and have a range of price bands, and extras do not).
Hopefully someone can point me in the right direction.