Peter Wilcox
asked on
Access Query
Right now I am making a formula
What would the correct formula for Crystal be where add all the fields above and then say I need a filter for this formula where HRO.STATUS = C?
What would the correct formula for Crystal be where add all the fields above and then say I need a filter for this formula where HRO.STATUS = C?
{HRO.TAX_PARTS}+{HRO.NTX_PARTS}+{HRO.TAX_LABOR}+{HRO.NTX_LABOR}+{HRO.TAX_SUBLET}+{HRO.NTX_SUBLET}+{HRO.SUPPLIES}+{HRO.ST}-{HRO.DISP}-{HRO.DISL}-{HRO.DISS}
AND {HRO.STATUS} = "C"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I added this date filter is that correct?
if {HRO.STATUS} = "C" AND {HRO.PAY_DATE} in DATE (2009, 11, 15) to Date (2009, 11, 21) then
{HRO.TAX_PARTS}+{HRO.NTX_PARTS}+{HRO.TAX_LABOR}+{HRO.NTX_LABOR}+{HRO.TAX_SUBLET}+{HRO.NTX_SUBLET}+{HRO.SUPPLIES}+{HRO.ST}-{HRO.DISP}-{HRO.DISL}-{HRO.DISS}
else 0
yes it works..glad if i cud help
ASKER
They are attached below.. the formula above and below reference two different tables.
Open in new window