G
Guest
Hi,
Have tried to find the answer to this question here but have not.
I am building a query to identify the correct PropertyCode for each record
based on the dollar amount of the record. There are two options. If the
dollar amount is above the threshold the record would have a code assigned
from the PropertyCode field. If the dollar amount is below the threshold,
the record would have a code assigned from the AggregatePropertyCode field.
My expression is:
IIf([Amount]>=[AggregateReportingAmt],[PropertyCode],[AggregatePropertyCode])
I expected the query to show all records requested. Some would have a code
from PropertyCode and the rest would have a code from AggregatePropertyCode.
However, I am only getting the records wtih a code from PropertyCode. Am I
using the correct expression? If not can you suggest the correct expression.
Thanks for your help.
Have tried to find the answer to this question here but have not.
I am building a query to identify the correct PropertyCode for each record
based on the dollar amount of the record. There are two options. If the
dollar amount is above the threshold the record would have a code assigned
from the PropertyCode field. If the dollar amount is below the threshold,
the record would have a code assigned from the AggregatePropertyCode field.
My expression is:
IIf([Amount]>=[AggregateReportingAmt],[PropertyCode],[AggregatePropertyCode])
I expected the query to show all records requested. Some would have a code
from PropertyCode and the rest would have a code from AggregatePropertyCode.
However, I am only getting the records wtih a code from PropertyCode. Am I
using the correct expression? If not can you suggest the correct expression.
Thanks for your help.