Can't EDIT a form after activating it as a SERVICE

Author: eitan@amital.co.il (hareitan)

Hi. I've got a Limited FORM (Uniface 9.5) that is been activated in 2 modes, both via the EXEC trigger. On the 1st mode there is no edit/display command. The FORM is started, doing something, and exits. On the 2nd mode, there is an edit command. If one is activating this FORM on the 1st mode, and then trying to activate it on the 2nd mode, after the edit command the FORM doesn't show. The same after an explicit show command. If one is activating this FORM on the 2nd mode first, it does show. Then, after activating the 1st mode, reactivate the 2nd doesn't show the FORM again... The same happens even if I call newinstance with different InstanceName for each mode... I've temporary solved it by assinging the Drop From Memory to this FORM. Is there any explantion for this behaviour? Any other solution? Thanks, Eitan

3 Comments

  1. Activate an operation in the operations trigger for the no show operation. Avoid the exec trigger entirely unless showing the form.


    Author: Iain Sharp (i.sharp@pcisystems.co.uk)
  2. FiresongKt said Activate an operation in the operations trigger for the no show operation. Avoid the exec trigger entirely unless showing the form.

    Thank you. Is it a known behaviour? We do have some forms that are called by the EXE trigger and exits without showing themselves.


    Author: hareitan (eitan@amital.co.il)
  3. I don't know, we've always done it the other way since we started on Uniface 7.


    Author: Iain Sharp (i.sharp@pcisystems.co.uk)