Subject | TIB_METADATA - etTrigger doesn't work |
---|---|
Author | ronald_greven |
Post date | 2006-08-03T11:19:04Z |
Hi there,
I want to extract only Triggers from a Database with a
IB_Metadata-Component.
I set the Entity etTrigger to true;
lTrigger := TStringlist.Create;
lTrigger.Clear;
SIB_Trigger.ResetAll;
SIB_Trigger.ExtractToStrings(lTrigger);
Nothing will be exported.
Then I tried this :
SIB_TriggerFilterByEntity(Sender: TIB_CustomMetadata;
AType: TIB_EntityType; AEntity: TIB_DDLEntity; var AInclude: Boolean);
var Tmp : String;
begin
if AType in [etTrigger] then
begin
AInclude := true;
end
else
begin
AInclude := false;
end;
end;
Also nothing will be exported.
If I add etTables the export works?
What is wrong there?
I hope you can help me.
Best greetings
Ronni
I want to extract only Triggers from a Database with a
IB_Metadata-Component.
I set the Entity etTrigger to true;
lTrigger := TStringlist.Create;
lTrigger.Clear;
SIB_Trigger.ResetAll;
SIB_Trigger.ExtractToStrings(lTrigger);
Nothing will be exported.
Then I tried this :
SIB_TriggerFilterByEntity(Sender: TIB_CustomMetadata;
AType: TIB_EntityType; AEntity: TIB_DDLEntity; var AInclude: Boolean);
var Tmp : String;
begin
if AType in [etTrigger] then
begin
AInclude := true;
end
else
begin
AInclude := false;
end;
end;
Also nothing will be exported.
If I add etTables the export works?
What is wrong there?
I hope you can help me.
Best greetings
Ronni