>When I use this code I get 119 records:
>! AllT(myBales1.dwgrev) $ AllT(pchange.dwgrev)
>
>When I use this code I get 102 records:
>AllT(myBales1.dwgrev) <> AllT(pchange.dwgrev)
>
>Which is the correct way?
The second gives you records, which are not completely identical. The first will give you more records, because
Field1 = "Steven"
Field2 = "Steven Duke"
! alltrim(Field1) $ alltrim(Field2) will return .f.
If it's not broken, fix it until it is.
My Blog