FireDAC.Comp.Client.TFDCustomCommand.Open
Delphi
procedure Open(ABlocked: Boolean = False);
C++
void __fastcall Open(bool ABlocked = false);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomCommand |
Description
Executes the SQL command, and returns the cursor.
Call the Open method to execute the SQL command and return the cursor. After that, the State is set to csOpen
and you can fetch rows from the current cursor using the Fetch method. The Open method raises an exception, if the command does not return the cursors.