Does Delphi TClientDataSet.IndexFieldNames really remove records from the dataset (make them invisible)? -
i execute following code in delphi:
myclientdataset.indexfieldnames:='field1;field2;field3'
and can see myclientdataset.recordcount shows reduced number of records while temporary index active. if make while loop:
while not myclientdataset.eof begin //... code myclientdataset.next; end;
then part of records visited in loop while temporary index active. records lost without specific order: of lost records can have nil values in indexed fields , of lost records have fields values. is such behavior design or have discovered clientdataset bug (maybe dependent upon specific version of midas.dll library) or need configure tclientdataset in specific way (i can not imagine - how)?
i working delphi 6 guess problem can in later delphi versions well.
Comments
Post a Comment