Good morning
My database was quite simple, recording number of shifts worked on various contracts and totalling the costs.
My problem is that up until now I have populated the tables using a form. I enter the shift date in a text box, select the site the person worked at from a drop down box, the contract to which the selected site belongs is displayed in a text box, I select the individual’s name from a drop down box and finally select the individual’s job title from another drop down box (staff type). This sometimes changes for some individuals so has to be selected separately.
The cost of the shift is then displayed in another text box as a function of the staff type selected.
What’s changed is that we have been awarded a new contract with a whole set of different staff costs. So when entering a new shift worked on the new contract, the chosen staff type takes a figure from TblStaffType;StaffTypeCost that was true for previous contracts but not right for the new contract.
As there is no direct link between TblContract;ContractName and TblStaffType;StaffTypeCost in my database I wasn’t sure how to structure a link.
Could someone please give me a pointer on how to phrase a query calculated field to lookup the cost of the shift as a function of both the contract and the staff type. Or should I be looking to change the way in which the table relationships are structured?
Thanks
Regards
Graeme