Skip to main content

Hi Freaks

All our components do have a component local variable $INSTANCEPROPERTIES$
To check certain things at entity level, our entity operations (on model-level) does have some code which reads/write to $INSTANCEPROPERTIES$
Compiled component works without any error.
But when compiling the entity operations at there own, I got an error
(OP_OCC_INIT) error: 1000 - Component variable '$INSTANCEPROPERTIES$' not found

any idea to supress this error?

BTW: Even the entity is not valid, says the compiler. But this is only a warning :-)

assuming $1= STATUS.<$entname> in a (model) operation of DG1410
Entity 'DG1410' not found

TIA Ingo



------------------------------
Ingo Stiller
Aareon Deutschland GmbH
------------------------------

Hi Freaks

All our components do have a component local variable $INSTANCEPROPERTIES$
To check certain things at entity level, our entity operations (on model-level) does have some code which reads/write to $INSTANCEPROPERTIES$
Compiled component works without any error.
But when compiling the entity operations at there own, I got an error
(OP_OCC_INIT) error: 1000 - Component variable '$INSTANCEPROPERTIES$' not found

any idea to supress this error?

BTW: Even the entity is not valid, says the compiler. But this is only a warning :-)

assuming $1= STATUS.<$entname> in a (model) operation of DG1410
Entity 'DG1410' not found

TIA Ingo



------------------------------
Ingo Stiller
Aareon Deutschland GmbH
------------------------------

Use #if "<$componenttype>" != “” in the trigger to restrict that code to just components ?


Use #if "<$componenttype>" != “” in the trigger to restrict that code to just components ?

Hi Iain
That's a clever idea.
I'll give it a try

Ingo



------------------------------
Ingo Stiller
Aareon Deutschland GmbH
------------------------------

Hi Iain
That's a clever idea.
I'll give it a try

Ingo



------------------------------
Ingo Stiller
Aareon Deutschland GmbH
------------------------------

Hi Iain
There was a little "problem" in your condition statement :-)
This one is better:
#if ("<$componenttype>"!="")
Ingo



------------------------------
Ingo Stiller
Aareon Deutschland GmbH
------------------------------