| View previous topic :: View next topic |
| Author |
Message |
Dominic Dumée Guest
|
Posted: Wed Dec 22, 2004 11:37 am Post subject: Can RefreshRecord work with a TSimpleDataSet? |
|
|
I get the error 'unable to find record. no key specified' if I try a
refreshrecord on a TSimpleDataSet that's connecting to MSSQL. I've set the
pfInKey on the primary key field on the component but this doesn't seem to
make any difference. A Refresh works fine but I only want the single record
reloaded and displayed on the dbgrid for speed.
Is there a way to do this?
Thanks
Dominic
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Wed Dec 22, 2004 12:40 pm Post subject: Re: Can RefreshRecord work with a TSimpleDataSet? |
|
|
Replace the TSimpleDataSet with separate SQLDataSet, DSP and CDS
components. Set the pfInKey ProviderFlag on the SQLDataSet.
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
|
|
| Back to top |
|
 |
|