G
Guest
Hello
I have spent a day without solving my problem. Maybe someone can help.
I have a query and the result from this query is to be used in other queries.
A schematic view of the result in the query looks like this.
Item Test
A 100
B -50
C 200
If the result is <0, it will affect my succeeding calculations in a bad way.
If I use the criteria >0, I only get the result for A and C, which spoils all
succeeding calculations.
I thought it would be possible to use an If Then criteria, which would say
something like “if the result is <0 then put in 0 insteadâ€. So, I tried
=IIf([Test]<0 Then 0)
The return is only one empty item row.
I sure would be very grateful if someone can give me an advice.
Catarina
I have spent a day without solving my problem. Maybe someone can help.
I have a query and the result from this query is to be used in other queries.
A schematic view of the result in the query looks like this.
Item Test
A 100
B -50
C 200
If the result is <0, it will affect my succeeding calculations in a bad way.
If I use the criteria >0, I only get the result for A and C, which spoils all
succeeding calculations.
I thought it would be possible to use an If Then criteria, which would say
something like “if the result is <0 then put in 0 insteadâ€. So, I tried
=IIf([Test]<0 Then 0)
The return is only one empty item row.
I sure would be very grateful if someone can give me an advice.
Catarina