ODAC

TMemDataSet.Prepare Method

Allocates resources and creates field components for a dataset.

Class

TMemDataSet

Syntax

procedure Prepare; virtual;

Remarks

Call the Prepare method to allocate resources and create field components for a dataset. The Prepare method is called automatically by the Open method if dataset is not prepared. To learn whether dataset is prepared or not use the Prepared property.

The UnPrepare method unprepares a query.

Note: When you change the text of a query at runtime, the query is automatically closed and unprepared.

The Prepare method is called automatically by the Open method if dataset is not prepared.

See Also

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