ODAC

TDADataSetOptions.AutoClose Property

Specifies whether the dataset is automatically closed when the associated ClientDataSet is closed.

Class

TDADataSetOptions

Syntax

property AutoClose: boolean default True;

Remarks

Set the AutoClose property to False to prevent the dataset from being closed automatically after the associated ClientDataSet is closed. It is useful when working with a query that returns multiple ResultSets and requires reopening the ClientDataSet to read them.

© 1997-2026 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback