* run this into VFP9 ( 3 records ) or VFP7/8 ( 1 records ) CLEAR CREATE CURSOR bugIndex (cc C(3)) INSERT INTO bugIndex VALUES ("") INSERT INTO bugIndex VALUES ("A") INSERT INTO bugIndex VALUES ("AA") INDEX ON RTRIM(CC) TAG TTT SET ANSI OFF SELECT * FROM bugIndex WHERE RTRIM(CC)='AA'>Bottom line is the VFP team in their haste to remain relevant and get funding from Bill and M$ needed to make VFP9 more ANSI-SQL compliant and tried to sneak one by us. "Well Mr. Developer, sorry you have to recode your app but WE think in our infinte wisdom you should be doing things our way"