Wed, 18 Jun 1902 08:00:00 GMT
Filter :I really need help !
Hi ! I'm using Delphi 4 and I have a problem of filter : This is my program : unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids, DBGrids, Db, DBTables; type TForm1 = class(TForm) DataSource1: TDataSource; Table1: TTable; DBGrid1: TDBGrid; Button1: TButton; procedure Button1Click(Sender: TObject); private { Dclarations prives} public { Dclarations publiques} end; var Form1: TForm1; implementation {$R *.DFM} procedure TForm1.Button1Click(Sender: TObject); begin table1.filtered:=true; table1.active:=true; table1.filter:= '''code_artic'' = ''V1912'''; <<<<<<<<<<<<<<<<< PROBLEM ??????????? end; end. I think the problem comes from the noticed sentence, isn't it?. Maybe it is synthax error but I'm quite not sure : I don't know how to solve it. Could you help me? Thanks.
|