Hey guys,
So close to being done with this stage of the project.
What kind of code/query can I do to do the following:
If the date being used to enter data on (selected via combobox on main form) is in the range of Quarter "X", then use the value of [QrtlyAvg] from query Quarter "X-1".
Obviously I can do a DLookup to get the value from the query, but how can I get the program to chose the right query. The 4 options are SlspInfo_Q1, SlspInfo_Q2, SlspInfo_Q3, SlspInfo_Q4.
When a salesperson uses sick or vacation time, we multiply their hours by the quarterly average from the previous quarter. This value needs to get pulled in to the input form where hours, commission, etc gets typed in.
Was I detailed enough?