I
Imran Ghani
Hi! I am using access 2007 and trying to code in VBA whereby I am using the
IIF funtion and trying to calculate a range of values returned by a datediff
funtion but am not able to calculate the value. Its giving value error. I am
writing my code as under:
Me!sixMonths = IIf([status] = "partial settlement", 0, IIf([status] = "fully
settled", 0, IIf(datdif between 90 and 180, [balamt], 0)))
I'd be greatful if someone could help me to resolve the problem. Thanks in
advance.
IIF funtion and trying to calculate a range of values returned by a datediff
funtion but am not able to calculate the value. Its giving value error. I am
writing my code as under:
Me!sixMonths = IIf([status] = "partial settlement", 0, IIf([status] = "fully
settled", 0, IIf(datdif between 90 and 180, [balamt], 0)))
I'd be greatful if someone could help me to resolve the problem. Thanks in
advance.