FireDAC.Comp.Script.TFDGetTextEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFDGetTextEvent = procedure (AEngine: TFDScript;
const AFileName: String; AMode: TFDScriptTextMode; out AText: TFDTextFile) of object;

C++

typedef void __fastcall (__closure *TFDGetTextEvent)(TFDScript* AEngine, const System::UnicodeString AFileName, TFDScriptTextMode AMode, /* out */ Firedac::Stan::Util::TFDTextFile* &AText);

Properties

Type Visibility Source Unit Parent
type
typedef
public
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
FireDAC.Comp.Script FireDAC.Comp.Script

Description

Occurs when getting a text file.

Write a TFDGetTextEvent event handler to take specific actions when a text file has to be loaded as result of the @ or @@ SQL script commands. The event handler can redirect the SQL script engine to a custom script source.

See Also