MyDAC

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. To learn whether dataset is prepared or not use the Prepared property.

The MySQL prepared protocol has certain server restrictions, and its work is not always stable. That is why it is advisable to perform test before using preparation in production versions of applications.

The UnPrepare method unprepares a query.

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

See Also

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