FireDAC.Comp.Script.TFDGetTextEvent

De RAD Studio API Documentation
Aller à : navigation, rechercher

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);

Propriétés

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

Description

Se produit au moment de l'obtention d'un fichier texte.

Ecrivez un gestionnaire d'événement TFDGetTextEvent pour entreprendre des actions spécifiques quand un fichier texte doit être chargé à la suite des commandes de scripts SQL @ ou @@. Le gestionnaire d'événement peut rediriger le moteur de scripts SQL vers une source de script personnalisée.

Voir aussi