macdonald007
New Member
- Joined
- Jun 13, 2002
- Messages
- 11
Hi,
I am using a query to look for data entry errors in a table. What I am doing is using the same table twice, linking the common field on a one for one basis and then simply using an IIF statement to determine if the data entry field equals itself. It works great if the field is numeric or yes/no etc, but if the field is text this isnt working.
My equation is:
IRSDESC1: IIf([AC_TB.IRS_DESC1]<>[AC_TB_1.IRS_DESC1],-1,1)
Any ideas??
I am using a query to look for data entry errors in a table. What I am doing is using the same table twice, linking the common field on a one for one basis and then simply using an IIF statement to determine if the data entry field equals itself. It works great if the field is numeric or yes/no etc, but if the field is text this isnt working.
My equation is:
IRSDESC1: IIf([AC_TB.IRS_DESC1]<>[AC_TB_1.IRS_DESC1],-1,1)
Any ideas??