Allocates, opens, and parses cursor for a query.
procedure Prepare; override;
Call the Prepare method to allocate, open, and parse cursor for a query. Calling Prepare before executing a query improves application performance.
The UnPrepare method unprepares a query.
Note: When you change the text of a query at runtime, the query is automatically closed and unprepared.