I'm looking for a formula to convert data.
The table Products contains a column called "Indexed products" in which every product have (or don't have) a percentage.
Using the iif formula, I want to "convert" the data into yes (Y) or no (N).
E.g. Product 1 = 5%, then it should be Yand if no percentage is stated than N.
So far i have this written in the criteria in the query:
IIf([Products]![Indexed product]>0;"Y";"N")
Only the formula doesn't work... It says "Data mismatch in criteria expression"
Who knows the answer?!!
The table Products contains a column called "Indexed products" in which every product have (or don't have) a percentage.
Using the iif formula, I want to "convert" the data into yes (Y) or no (N).
E.g. Product 1 = 5%, then it should be Yand if no percentage is stated than N.
So far i have this written in the criteria in the query:
IIf([Products]![Indexed product]>0;"Y";"N")
Only the formula doesn't work... It says "Data mismatch in criteria expression"
Who knows the answer?!!
Comment