L
Lisa
I have a query that compares 3 numeric fields to see if the match. Some give
the correct answer and some do not. An example of the IIf statement is
below. Column RCSELL is typed as a whole number with no decimal places and
CUR-SELL AND FUT-SELL are type will decimal that is why i have to multiple
those by 100. All columns are set up as numbers. Some results are correct
such as 1299 = 1299 giving a YES response, but others like 1799 = 1799
results in a NO answer.
Expr1:
IIf([RCSELL]=([FUR-SELL]*100),"YES",IIf([RCSELL]=([CUR-SELL]*100),"YES","NO"))
the correct answer and some do not. An example of the IIf statement is
below. Column RCSELL is typed as a whole number with no decimal places and
CUR-SELL AND FUT-SELL are type will decimal that is why i have to multiple
those by 100. All columns are set up as numbers. Some results are correct
such as 1299 = 1299 giving a YES response, but others like 1799 = 1799
results in a NO answer.
Expr1:
IIf([RCSELL]=([FUR-SELL]*100),"YES",IIf([RCSELL]=([CUR-SELL]*100),"YES","NO"))