[fpc-devel]Another TDataSet issue to think about (I think)
Tony Maro
tony at maro.net
Tue Aug 3 18:31:02 CEST 2004
I've got a TDbf on a form.
I've got a TDataSource attached to it.
I've set an event handler on the DataSource.OnDataChanged.
When I set the TDbf active, it's triggering an OnDataChanged BEFORE the
dataset is fully active. If you do reading of data within the event
handler, it results in "Operation cannot be performed on an inactive
dataset."
Wouldn't the dataset already be open to trigger an OnDataChanged?
-Tony Maro
More information about the fpc-devel
mailing list