bsnapool
01-24-2008, 02:24 AM
Hi All,
Tried doing this within query, my current expression is...
Cost Difference: IIf(Len([SumOfBudget Cost£] & "")=0,[SumOfActual Cost],([SumOfActual Cost]-[SumOfBudget Cost£]))
When i replace the zero with a "-" or "blank" then it messes up the formatting of the percentage. Is there a way to do this in vba. Something like if zero then make blank??
Any advice would be appreciated.
Tried doing this within query, my current expression is...
Cost Difference: IIf(Len([SumOfBudget Cost£] & "")=0,[SumOfActual Cost],([SumOfActual Cost]-[SumOfBudget Cost£]))
When i replace the zero with a "-" or "blank" then it messes up the formatting of the percentage. Is there a way to do this in vba. Something like if zero then make blank??
Any advice would be appreciated.