SteveL13
asked on
Need Query Syntax Help
I have a query with a field named "TotJobHours". This field is a calculation field made up by...
TotJobHours: [TotSomeHours]+[TotSomeMor eHours]+[T otEvenMore Hours]
But I need another query with a field that is something like...
RemainingJobHours: [TotSomeHours] where SomeHoursComplete = False +[TotSomeMoreHours] where SomeMoreHoursComplete = False + [TotEvenMoreHours] where EvenMoreHoursComplete = False
but this syntax is not correct. Can someone provide guidance here?
--Steve
TotJobHours: [TotSomeHours]+[TotSomeMor
But I need another query with a field that is something like...
RemainingJobHours: [TotSomeHours] where SomeHoursComplete = False +[TotSomeMoreHours] where SomeMoreHoursComplete = False + [TotEvenMoreHours] where EvenMoreHoursComplete = False
but this syntax is not correct. Can someone provide guidance here?
--Steve
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
RemainingJobHours:
IF(SomeHoursComplete, 0, [TotSomeHours])
+IF(SomeMoreHoursComplete,
+IF(EvenMoreHoursComplete,