EPUB | CHM | PDF

TMySQLDirectQuery.Methods.Open

Top Previous Next

Opens the dataset.

Syntax:

procedure Open;

Description:

Call this method to execute query provided with SQL property and to fetch resultset. Active property is set to True and you can read data from resultset after that.

note You can set Active property to True instead of calling this method.

If an error occurs during the dataset open exception is raised and Active property is set to False. Use Close method to close resultset and free resources.

See also: Active property, Close, Refresh methods