S
shricom
Unregistered / Unconfirmed
GUEST, unregistred user!
I want to print some record suitable to some conditions with
QuickRep Control.I use Paradox,According to HELP,Filter can not
be used.
I write a OnFilterRecord Event handle, but it doesnot work.
Source:
In Form1 ( T_Person:TTable):
CompanyName is defined as a public variable.
Procedure T_PersonFilterRecord(Dataset;Accept);
begin
Accept:= (T_Person.FieldByName('company').Asstring = CompanyName);
end
In Form2:
Form1.T_Person.Filtered := True;
Form1.CompanyName := CoName; // CoName defined in Form2
Form1.T_Person.Refresh;
Please help me!
QuickRep Control.I use Paradox,According to HELP,Filter can not
be used.
I write a OnFilterRecord Event handle, but it doesnot work.
Source:
In Form1 ( T_Person:TTable):
CompanyName is defined as a public variable.
Procedure T_PersonFilterRecord(Dataset;Accept);
begin
Accept:= (T_Person.FieldByName('company').Asstring = CompanyName);
end
In Form2:
Form1.T_Person.Filtered := True;
Form1.CompanyName := CoName; // CoName defined in Form2
Form1.T_Person.Refresh;
Please help me!