It looks like you're new here. Sign in or register to get started.
FORM.RUNMODAL(FORM::"My other form");
CurrForm.CLOSE;
Comments
If you call the form with you could try putting 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.
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
Microsoft Dynamics NAV Partner
Bad Nauheim, Germany
http://www.protakt.de
http://twitter.com/protakt
Mixed between trigger Ontimer and Codeunit
Thanks a lot