Convert / compile error
Author: knut.dybendahl@gmail.com (Knut)
I have a component where virtually all triggers of an entity are commented out using a single comment (;) marker. We do this to simply block code from the model being inherited by the component. In 9.6 this works fine and as expected. In 10.02 - although the comment marker (;) is visible in the ProcScript (and in the XML when exported), Uniface seems to 'see' through the comment and still include the default proc defined in the entity. 9.6 code
and this is the 10.02 converted code.
In the LPME trigger in the model, we have code referencing component variables - thus we don't want that code in this compoent.. Knut

After this done you have add the specific defines to the components where the LPME/LPMF trigger is commented out. Okay, in order for this to work correctly you would need to create unique defines for each LPME/LPMF trigger (adding the specific entity and model name, and for the field triggers the field name). If you're interested then drop me an email and I could share a prototype that I've made for the LPME triggers. Hope this helps. Kind regards, Daniel



