N
Nelly
Please help!
I am trying to sort a query by a field calculated as e.g.
[hoursabsent]/[hoursworked]
I keep getting an error about subqueries not allowed for this type of
expression, but only when I set to sort.
I can sort by another calculated field of, for example just
sum([hoursworked]), but not [hoursabsent]/[hoursworked] and not
[hoursworked] + [hoursabsent]
is there something in SUM() that allows me to sort? Can I enclose
[hoursabsent]/[hoursworked] in a similar function to allow it to sort?
any ideas?
thank you
I am trying to sort a query by a field calculated as e.g.
[hoursabsent]/[hoursworked]
I keep getting an error about subqueries not allowed for this type of
expression, but only when I set to sort.
I can sort by another calculated field of, for example just
sum([hoursworked]), but not [hoursabsent]/[hoursworked] and not
[hoursworked] + [hoursabsent]
is there something in SUM() that allows me to sort? Can I enclose
[hoursabsent]/[hoursworked] in a similar function to allow it to sort?
any ideas?
thank you