Subject | Cancelling a Search |
---|---|
Author | jaguarius2003 |
Post date | 2005-03-08T01:38:57Z |
I've got a search bar on my form. Now I am not sure I understnad how
search works entirely, so here what the process is : hit search, enter
some criteria hit the post button. Not the dataset seems to have only
one record.
I need an easy way to "unfilter" the dataset so all the records show
again. I know hitting search then cancel works, but for some reason
the code
ClientDataSet.Search;
ClientDataSet.Cancel;
does not have the epected effect. It seems to instead return an emptry
dataset.
Bottom line I need one button that makes all records visible again.
Thanks,
Jason S. Gagnon
search works entirely, so here what the process is : hit search, enter
some criteria hit the post button. Not the dataset seems to have only
one record.
I need an easy way to "unfilter" the dataset so all the records show
again. I know hitting search then cancel works, but for some reason
the code
ClientDataSet.Search;
ClientDataSet.Cancel;
does not have the epected effect. It seems to instead return an emptry
dataset.
Bottom line I need one button that makes all records visible again.
Thanks,
Jason S. Gagnon