developmentguru
asked on
Client dataset dumping records on set of IndexName
I have been working on a bit of code that loads data from 5 sources into a client dataset. The data can then be indexed and manipulated to update the screen. I ran into a spot in my code, while debugging, that set the CDS FilterName. This should not be a problem but I noticed a watch I had setup to display the RecordCount property went from 1 to 0. Can anyone tell me why a client dataset would behave like that?
RecordCount returns the count of records in the active view. Any record filtered out is not part of the count hence the difference in numbers.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi developmentguru
Sorry could not keep up
How do you delete the records in the client dataset?
Have you tried
ClientDataset1.EmptyDataSe t;
Sorry could not keep up
How do you delete the records in the client dataset?
Have you tried
ClientDataset1.EmptyDataSe
ASKER
No other solution was provided. This is a solution, but I would have preferred a way of getting it to work without recreating the client dataset.