Subject | Re: [IBO] TIB_METADATA - etTrigger doesn't work |
---|---|
Author | Helen Borrie |
Post date | 2006-08-03T13:29:34Z |
At 09:19 PM 3/08/2006, you wrote:
Helen
>Hi there,Nothing's wrong. Triggers don't exist outside the context of tables.
>
>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?
Helen