MyDAC

TMyDataSetOptions.CreateConnection Property

Used to specify if an additional connection to a server should be established to execute an additional query in the TCustomMyDataSet.FetchAll=False mode.

Class

TMyDataSetOptions

Syntax

property CreateConnection: boolean default True;

Remarks

Use the CreateConnection property to specify if an additional connection to a server should be established to execute an additional query in the TCustomMyDataSet.FetchAll=False mode. If a DataSet is opened in TCustomMyDataSet.FetchAll=False, the current connection is blocked until all records have been fetched. If this option is set to True, an additional connection is created to fetch data to avoid blocking of the current connection.

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