 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Hello Guest
|
Posted: Thu Feb 01, 2007 10:01 pm Post subject: TClientDataSet |
|
|
In the Delphi Help.pdf it states that if I use the IndexDefs property to create an index on a TClientDataSet it will persist and be saved to the client dataset file.
But, I've tried all I can and it isn't saved. BTW, I create the IndexDef before I call CreateDataSet and am using SaveToFile. No provider.
Code to create the index:
with cdsTemp.IndexDefs.AddIndexDef do begin
Name := 'Primary';
Fields := cdsTemp.Fields[0].Name;
Options := [ixPrimary];
end; |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|