i have a tblemployee with hourly wage in.
i have a query which takes the Avg of all these wages.
This is used for my employee rota DB to work out labour % at the end of the night. so this looks at cost of labour against gross profits.
However i've just relised a flaw...
Say on monday my Avg labour hourly wage was £7 this will be calculated for monday and return all the correct values..
my problem however is if i then employee MR X on tuesday and because he's expensive my avg hour wage goes up to £7.50!!
so... when i (or the client) whishes to review mondays financial details the've all changed!! because of the extra 50p!
i need it to stay the same, so i still want monday to show £7, but now i need tuesday to reflect the extra rise in salary and show £7.50?!
any ideas??
my only thought was to append the old information into a new table that won't have any query's attached it'll just show the data.. would this work?? or would this still update with the new rise in hourly wage.
please advice, can zip up examples if required
i have a query which takes the Avg of all these wages.
This is used for my employee rota DB to work out labour % at the end of the night. so this looks at cost of labour against gross profits.
However i've just relised a flaw...
Say on monday my Avg labour hourly wage was £7 this will be calculated for monday and return all the correct values..
my problem however is if i then employee MR X on tuesday and because he's expensive my avg hour wage goes up to £7.50!!
so... when i (or the client) whishes to review mondays financial details the've all changed!! because of the extra 50p!
i need it to stay the same, so i still want monday to show £7, but now i need tuesday to reflect the extra rise in salary and show £7.50?!
any ideas??
my only thought was to append the old information into a new table that won't have any query's attached it'll just show the data.. would this work?? or would this still update with the new rise in hourly wage.
please advice, can zip up examples if required