Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delphi TClientDataset.refreshrecord

Status
Not open for further replies.

stevenba

Programmer
Jul 26, 2004
15
GB
Hi,

I'm developing an app in delphi 7, using tclientDatasets.

Since upgrading to D7 from D6, i've had nothing but problems, with issues which were supposed to be fixed in sp 7.1.

The latest one is when i call the RefreshRecord on a TClientDataset, i get 'unable to find record no key specified' exception. The only work around i can find is to refresh all using 'refresh', but that is not really an option. Unless i'm doing something wrong, this seems like another bug ...

Anybody got any ideas?
 
i've fixed it.

The clientDataset is attached to a provider which is attached to a adodataset.

The porblem was caused by only defining the fields in the fielddef property of the clientdataset - was resolved when the fields were defined in the adodataset as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top