select mytable >>for i=1 to 10 >> DO CASE >> CASE NOT seek(i,'mytable','id') >> messagebox('ID '+allt(str(i))+' Not Found!',0+16) >> CASE mytable.status='C' >> messagebox('The operation will ignore from tube ID '+allt(str(i))) >> OTHERWISE >> insert into mycursor value(i) >> ENDCASE >>endfor >>>>