Options

Form to closed

tatietatie Member Posts: 16
Hi

I have a difficulty :
From a subform, I run an another form and when I close this one, I'd like so to close the first form (with this subform).

Thanks

Comments

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    It depends how you call the other form.

    If you call the form with
    FORM.RUNMODAL(FORM::"My other form");
    
    you could try putting
    CurrForm.CLOSE;
    
    after this line.

    RUNMODAL will wait with the execution of the code, until the object is closed. Then it returns to the following line, which will close your main form.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    ngebhardngebhard Member Posts: 127
    Hi!

    Maybe it is not exactly what you are trying to do but I had a similar problem. Please have a look at the following:

    http://www.mibuso.com/forum/viewtopic.p ... highlight=

    Best regards
    Nicole Gebhard
    ProTAKT Projekte & Business Software AG
    Microsoft Dynamics NAV Partner
    Bad Nauheim, Germany
    http://www.protakt.de
    http://twitter.com/protakt
  • Options
    tatietatie Member Posts: 16
    thanks a lot but I still don't get it.
  • Options
    tatietatie Member Posts: 16
    I succeed to solve my problem
    Mixed between trigger Ontimer and Codeunit

    Thanks a lot
Sign In or Register to comment.