Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change steretype disable Initialize or check

Status
Not open for further replies.

damra

Programmer
Jul 24, 2023
1
CZ
Hi All,

I have a trouble with Table event handler (Initialize).
This metod has been called when I change stereotype, on replicated table as well.
I need check or disable this when I Change Steretype only - is it possible?

Idea 1 :
Function %Initialize%(obj)
If obj.EventContext = 1 /*New table */
then
else if
obj.EventContext = 2 /*chenge stereotype*/
else if

Idea 2:
Stereotype.Initialize = Disable

I have Powerdesigner 16.7.2
Thank you
David

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top