I am trying to get this query placed in a control running on a report to execute correctly. ..
=[CompForOffday]-Abs(Sum([chvSelector]="Comp for Off Day") & abs(sum(apprv))
CompforOffday = 5.
This is how the table looks..
chvSelector Apprv
-------------------------------------
comp for off days 1
vacation -1
vacation 1
comp for off days -1
--------------------------------------
I have 4 records in a table. I want to sum only the record that have a value "Comp for off day" and are approved.
thx in advance..
=[CompForOffday]-Abs(Sum([chvSelector]="Comp for Off Day") & abs(sum(apprv))
CompforOffday = 5.
This is how the table looks..
chvSelector Apprv
-------------------------------------
comp for off days 1
vacation -1
vacation 1
comp for off days -1
--------------------------------------
I have 4 records in a table. I want to sum only the record that have a value "Comp for off day" and are approved.
thx in advance..