CREATE CURSOR MyTable (Status C(1)) FOR ASd = 32 TO 255 INSERT INTO MyTable VALUES (CHR(asd)) NEXT INDEX ON Status TAG MyTable SYS(3054,11,"tte") SELECT* ; FROM mytable ; WHERE mytable.status = 'A' OR ; mytable.status = 'F' OR ; mytable.status = 'T' OR ; mytable.status = 'H' OR ; mytable.status = 'E' OR ; mytable.status = 'W' MESSAGEBOX(tte) SYS(3054,0)