| View previous topic :: View next topic |
| Author |
Message |
Brent Rose Guest
|
Posted: Sun Jul 20, 2003 11:15 pm Post subject: Newbie: where to specify ClientDataSet key field? |
|
|
Using UpdateMode = upWhereKeyOnly, I get error "Unable to find record. No
Key specified" when calling ApplyUpdates.
I've tried setting ProviderFlag pjInKey = True for the pk field.
Where should I set the "key" or what else should I be doing?
Thanks.
--
Brent Rose
[email]brentrose (AT) paradise (DOT) net.nz[/email]
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Mon Jul 21, 2003 2:56 am Post subject: Re: Newbie: where to specify ClientDataSet key field? |
|
|
| Quote: | I've tried setting ProviderFlag pjInKey = True for the pk field.
|
You must set the ProviderFlags on the source dataset (the one the
DataSetProvider is connected to) not the ClientDataSet.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
|