C chenghus Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-07 #1 ClientDataset1.filter='iflife=true'不起作用. 但是ClientDataset1.filter='iflife=false'可以,為何???
C china_peng Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-07 #2 布尔型变量过滤是有问题,并且是老问题,我从不用过滤!
A antic_ant Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-30 #6 应该这样 ClientDataset1.filter :='iflife=true' ClientDataset1.filted:=true
老 老人家 Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-30 #7 ClientDataset1。CommandTex也不错阿
Z zhukewen Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-31 #8 我试过,可以的。 你的iflife是否是逻辑型的?
W WolfXP Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-31 #9 ClientDataset1.Close; ClientDataset1.Filtered:=False; ClientDataset1.Filter:='iflife=true'; ClientDataset1.Filtered:=True; ClientDataset1.Open;
ClientDataset1.Close; ClientDataset1.Filtered:=False; ClientDataset1.Filter:='iflife=true'; ClientDataset1.Filtered:=True; ClientDataset1.Open;