Board index » delphi » access the same table with different result

access the same table with different result

Hi,
I want to display 2 grids, with the same table but I want them to
display a different result.
One grid display a record with filtered records while the other show
all the records.
How can I do that ?
Thanks in advance.
 

Re:access the same table with different result


You will need to use different 2 datasets (e.g. TTable, TQuery. TADODataSet
etc.).

ps. Changes made to a dataset will not automatically be displayed in a
second dataset. You will need to refresh the other datasets in the AfterPost
and AfterDelete events.

Quote
"Sobari" <sob...@sobaritanuwijaya.net> wrote in message

news:ad39ae74.0108210119.41be27cc@posting.google.com...
Quote
> Hi,
> I want to display 2 grids, with the same table but I want them to
> display a different result.
> One grid display a record with filtered records while the other show
> all the records.
> How can I do that ?
> Thanks in advance.

Other Threads