Z zgheng Unregistered / Unconfirmed GUEST, unregistred user! 2002-07-31 #1 filter能进行模糊过滤吗?也就是说某个字段中只有一部份符合条件!
Z zm30 Unregistered / Unconfirmed GUEST, unregistred user! 2002-07-31 #3 table1.filter:='字段名 like abc*';
Z zm30 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-01 #7 procedure TForm1.Query1FilterRecord(DataSet: TDataSet; var Accept: Boolean); begin Accept:=Pos('abc',Dataset.fields[0].asstring) > 0 ; end;
procedure TForm1.Query1FilterRecord(DataSet: TDataSet; var Accept: Boolean); begin Accept:=Pos('abc',Dataset.fields[0].asstring) > 0 ; end;
完 完颜康 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-01 #8 谁说不可以!只不过不能写成“like”的形式 这样: Table1.Filter :='FieldName = ''%value%''';记住,用“=”,不能写成like