views:

61

answers:

1

What are you supposed to do in InternalRefresh when you subclassing TDataset in Delphi?

A: 

Fetch the data from the database again. The public interface to this is TDataSet.Refresh.

Note that TQuery's override of this just throws an exception. There's not a strict requirement to do anything useful here, if you don't care about supporting Refresh.

Craig Stuntz