Subject Closing Dataset - State changes to dssPrepared
Author ehandbury

(IBO4.2Gc, BCB4, FB-1.0-796)

I have a form where I close all open datasets in the OnFormClose
event. One dataset has a state of dssBrowse just before the Close(),
but when the Close is called, the OnStateChanged event is fired and
the State inside the event is dssPrepared.
Why is the dataset prepared when its being closed?

TIA. Eric.