谢谢,我去试试看看 那这样该怎么办: str=select * from 表名 where 条件=? 比如表中有 字段 041 042 043 044 041 042 041 这样的数据,怎么过滤出来呢? 我用这样的方式做成不成: flag=0 do while not eof() for i=1 to thisform.list1.listcount if allt(字段)=thisform.list1.list(i) flag=0 exit endif if flag=1 thisform.list1.addItem(字段) endif enddo 刚才这段,是这刚想出来的,还没有验证呢。。。。