Forum Replies Created

Page 4 of 8
  • Obonye

    Member
    September 10, 2024 at 12:01 pm in reply to: Subform Set Panel

    Hi @andreas-pfeiffer , this solution worked perfectly for me. I appreciate your help very much. You make Omnis such a wonderful product, and easy to use over time. 🙂

  • Obonye

    Member
    September 9, 2024 at 12:09 pm in reply to: Subform Set Panel

    Thank you for prompt response. I’m using v10.22 not v11.1. Can I be helped? I’ll upgrade later on.

  • Obonye

    Member
    September 9, 2024 at 11:21 am in reply to: Subform Set Panel

    I have used a copy of the sample library. See the attachment. Play around with the insert and back button to see the error I’m running into. The “subformset_remove” is in the $destruct. Use the main form, “jsSubFormSetPanelsMain”, to test.

    • This reply was modified 10 months, 3 weeks ago by  Obonye Mato.
  • Obonye

    Member
    September 9, 2024 at 11:14 am in reply to: Subform Set Panel

    I have used a copy of the sample library. See the attachment. Play around with the insert and back button to see the error I’m running into. The “subformset_remove” is in the $destruct.

  • Obonye

    Member
    September 9, 2024 at 11:17 am in reply to: Subform Set Panel

    Run the main form, “jsSubFormSetPanelsMain”

  • Obonye

    Member
    September 9, 2024 at 8:31 am in reply to: Subform Set Panel

    But why would this problem only happen when I insert “subformset_remove” in the $destruct of the secondary form? If I remove this command from $destruct, the problem goes away.

  • Obonye

    Member
    September 9, 2024 at 8:07 am in reply to: Subform Set Panel

    Just to be clear. The problem is not with $destruct. The problem is with not running the $construct. But I noticed it happens if I insert “subformset_remove”, in the $destruct of the secondary form that contains the pagedpane that contains the subformpanelset.

  • Obonye

    Member
    September 9, 2024 at 7:58 am in reply to: Subform Set Panel

    No. It does not run into $construct of the same form I assigned to $classaname. Imagine a primary window with insert button opens a window with a back button. When I click the back button it will open the primary window. If I click on the insert button, it will assign the same $classname in the secondary window.

  • Obonye

    Member
    September 9, 2024 at 7:51 am in reply to: Subform Set Panel

    one of your subforms that you are using within the subform field is then itself using a subformset panel. Is this correct? Yes. This is my setup

  • Obonye

    Member
    September 9, 2024 at 7:45 am in reply to: Subform Set Panel

    Sorry I was talking over you.

    Actually, $construct is not run a second time I open the secondary form from the primary form. This only happens IF I put “subformset_remove” in the $destruct. If I remove it, the $construct is hit as second time.

    Martin.

  • Obonye

    Member
    September 9, 2024 at 7:44 am in reply to: Subform Set Panel

    Actually, $construct is not run a second time I open the secondary form from the primary form. This only happens IF I put “subformset_remove” in the $destruct. If I remove it, the $construct is hit as second time.

  • Obonye

    Member
    September 9, 2024 at 7:42 am in reply to: Subform Set Panel

    Actually, $construct is not run a second time I open the secondary form from the primary form.

  • Obonye

    Member
    September 9, 2024 at 7:35 am in reply to: Subform Set Panel

    $multipleclasses is kFalse

  • Obonye

    Member
    September 9, 2024 at 7:04 am in reply to: Subform Set Panel

    I have created subform object in a secondary remote form. I have also created a primary form where I have buttons to select which subform to open in the secondary remote form. The $classname of the subform is assigned dynamically depending on the button clicked on the primary remote form. If I test the form for the first time, it runs okay and opens the subform. But fails a second test run. I therefore step through the code to catch where it is failing. The stack goes through the $event method of the button in the primary form, opens the secondary form but fails to step into the $construct of the secondary remote form. To assign the $classname property of the subform i run this code:<br clear=”none”>Do $cinst.$objs.SubFormHorzHeader.$classname.$assign(jsSFAddData)

    The “subformset_remove” is in the $destruct of the secondary form that contains the pagedpane.

  • Obonye

    Member
    September 8, 2024 at 9:55 pm in reply to: Subform Set Panel

    Hi Andreas,

    I’m back to you again on this subformpanelsset. The command

    Do $cinst.$clientcommand(“subformset_remove”,row(‘SubformPanelsSet’))

    seem to affect the $construct of the js remote form. The stack is unable to hit it after the formsets have been destructed. Do you have any insights into effects of “Do $cinst.$clientcommand(“subformset_remove”,row(‘SubformPanelsSet’))” on the $construct of a remote form assigned as a $classname of a subform object?

    Martin.

Page 4 of 8