Re: ClientDataSet IndexFieldNames
- From: "Kevin Frevert" <kevin@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Apr 2007 07:59:00 -0500
Ken,
Can you provide the steps to reproduce the problem? What version of
Delphi are you using? I'm using D6 and no matter what I do, setting the
IndexFieldNames (to a field in the dataset), works just fine.
krf
"Ken Davies" <krdavies@xxxxxxxxxxx> wrote in message
news:46312ad5$1@xxxxxxxxxxxxxxxxxxxxxxxxx
I have a ClientDataSet set up as a memory table and everything works as
expected until I want to change the index.
As soon as I set IndexFieldNames at run-time to anything other than what I
set at design time I get the error 'Item cannot be found in the collection
corresponding to the requested name or ordinal'.
Is there any way to do want I want to achieve?
TIA
Ken Davies
.
- Follow-Ups:
- Re: ClientDataSet IndexFieldNames
- From: Ken Davies
- Re: ClientDataSet IndexFieldNames
- References:
- ClientDataSet IndexFieldNames
- From: Ken Davies
- ClientDataSet IndexFieldNames
- Prev by Date: Re: Batchupdates not working as expected
- Next by Date: Re: Batchupdates not working as expected
- Previous by thread: ClientDataSet IndexFieldNames
- Next by thread: Re: ClientDataSet IndexFieldNames
- Index(es):