Board index » off-topic » TClientDataSet and PacketRecords
Preston
Delphi Developer |
TClientDataSet and PacketRecords2005-05-16 11:49:07 PM off-topic9 I'm seeing some weird behavior with the TClientDataSet and the PacketRecords property. Currently I have the packetRecords property set to 1. I then have a grid hooked up to show the contents of the cds. The problem I'm having is that the grid is not showing all the records. The grid can show 25 rows. The cds has 8 records in it, but only 5 are shown. If in the grid I arrow down to the insert row, then all "missing" rows appear. If I change the PacketRecords property to N where N is greater than the number of rows in the cds then all rows show. Additionally I'm using the code provided by Cary Jensen to sort the cds. When I do sort the cds, then it drops some rows and adds others. For example, when the grid first opens only 5 rows are showing. I then click on column B to sort it, and now only two rows show. I try column C and now 9 rows show. Has anyone got any suggestions? Delphi 6.240 Midas 7.1.1692.668 I originally started with Midas 6.0.10.157 and thought upgrading would help. Preston |