Entity Update Event Handler

I am trying to write a macro that uses the entity update event handler.  The documentation states "When you edit an entity with the Entity Editor, ER/Studio Data Architect immediately calls your UpdateEntityHandler function in the ERSUpdateHandlers.bas file." - but this does not appear to be the case.

I seems that the UpdateEntityHandler subroutine only gets called when one of a handful of entity properties (like name) are actually modified.  In my case I want my macro to run everytime the entity or table editor is run so I can check the bound attachments and change the background color of the entity/table.  Is this possible or can I only use UpdateEntityHandler when one of the following changes:

	Case UPD_ENTITY_NAME

        Case UPD_ENTITY_TABLENAME

        Case UPD_ENTITY_DEFINITION

        Case UPD_ENTITY_NOTE

        Case UPD_ENTITY_POSTSQL

        Case UPD_ENTITY_PRESQL

        Case UPD_ENTITY_STORAGELOCATION

        Case UPD_ENTITY_INITIALEXTENT

        Case UPD_ENTITY_PCTFREE

        Case UPD_ENTITY_NOLOGGING

        Case UPD_ENTITY_PCTINCREASE

        Case UPD_ENTITY_NEXTEXTENT

        Case UPD_ENTITY_PCTUSED
Parents
  • Hi,

    Unfortunately at this time what you see is what you get. There isn't an event handler that will run when you open up an entity/table editor.

    I'll write up an *** request for this though.

    Regards,
    Stan
Reply Children
No Data