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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with TClientDataSet.RefreshRecord

Status
Not open for further replies.

FrankThynne

Technical User
May 29, 2001
36
GB
I'm converting an application to use TClientDataset to cache updates. Generally it works well (although I get exceptions - eg write to illegal address - on exiting the app). The big bonus is that refreshing the dataset really works, including fetching data from the right rows of joined tables.

However, with some datasets, refreshing the whole dataset after posting a change is unacceptably slow, so I'm trying to use RefreshRecord to refresh just the current row. But I always get an exception: "Unable to find record. No key specified".

How do I specify a key?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top