Hello,
I have a form called Project that has a sub-form called Task. Within the task form I have a calculation field to calculate the total time spent in all tasks within the project, the calculation is: =Sum([TimeSpent]). Then, within the project form I have another calculation field to deduct this total from the amount of hours allocated to a project to give the hours remaining - the calculation is: =[HoursAllocated]-[Task].[Form]![TimeSpentCalculationField].
Now, as these values are calculated on the form they are not in the tables and I need to find a way to use this in queries, e.g. search for projects where hours remaining is less than 10 hours for example.
What is the best/easiest way to do this for both myself and other users?