Hi all, my very first db..grovel, grovel, I hope that my question is coherent enough and not too stupid.
I have an Employee table. Each employee has 3 different billing rates named Rate1, Rate2 and Rate3. Which rate they use depends on the project they will be inputting hours for.
So I have a Project table which has an ID, Description and a BillingRate (Rate1, Rate2 or Rate3)
How do I set that up so that I can query for EmployeeName, ProjectID or description and the appropriate rate to create invoices?
In other words how do I get around the mismatch problem BillingRate being text and Rate1, Rate2 and Rate3 being numbers?
Is there a way to create criteria that compares a field name to a field value?