I
inungh
I have one query which get data from 3 queries.
I want to return 1 when 2 qeries return no record.
I use iif(isnull([MyField1]),1, MyField1) which works if only one
query returns zero record, if 2 queries return zero record then I get
divided by zero error using following expression
iif(isnull([MyField1]) and isnull([MyField2]),1, [MyField1]/
[MyField2])
It should return 1, if both fields are null.
Please let me know if I am wrong.
Your information is great appreciated,
I want to return 1 when 2 qeries return no record.
I use iif(isnull([MyField1]),1, MyField1) which works if only one
query returns zero record, if 2 queries return zero record then I get
divided by zero error using following expression
iif(isnull([MyField1]) and isnull([MyField2]),1, [MyField1]/
[MyField2])
It should return 1, if both fields are null.
Please let me know if I am wrong.
Your information is great appreciated,