mFindRefNumber = 2111 SELECT * from AA INTO CURSOR BBQ NOFILTER,; WHERE AA.Number = mFindRefNumberWhen this statement is executed, 0 records are selected from Table AA. And I know for sure that the field Number in Table AA has the value stored in mFindRefNumber.