FireDAC.Comp.Script.TFDScript.Eof
Delphi
property Eof: Boolean read GetEof;
C++
__property bool Eof = {read=GetEof, nodefault};
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Comp.Script.pas FireDAC.Comp.Script.hpp |
FireDAC.Comp.Script | TFDScript |
Description
Returns True if the current position is beyond the last command in the SQL script.
Use the Eof property to check the current position specified by the Position property. If its value is True, then the position is beyond the last command in the current script. If the value is False, then there may be several other commands after the current position.
Example
procedure TForm1.acRunUpdate(Sender: TObject); begin acStep.Enabled := FDScript1.Connection.Connected and not ADScript1.Eof; end;