table.filtered:=true;
table.first;
dblistbox.clear;
while not table.eof do
begin
dblistbox.items.add(...);
table.next;
end;
table.first;
dblistbox.clear;
while not table.eof do
begin
dblistbox.items.add(...);
table.next;
end;
table.filtered:=true;
table.first;
dblistbox.clear;
while not table.eof do
begin
dblistbox.items.add(...);
table.next;
end;