It looks like you're new here. Sign in or register to get started.
FORM::RUN(FORM::"FormName")
FormVariable.RUN
Comments
If you have used then you can create new function on that form containing CURRFORM.CLOSE, and then close the form by calling that function.
Regards,
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
We derived logic for closing forms using On Timer Trigger
Form A - Button On Push Event
1.Form B is opend from From A - FORM.RUN(43,rec)
2.Create Global Variable:=TRUE;
3.FORM A.VISIBLE:=FALSE; (Optional)
Form A - Ontimer Trigger - Timer Interval =5
IF Global Variable=TRUE THEN
CurrForm.CLOSE;
Regards,
Rajini
viewtopic.php?f=23&t=22564
this example you can also use for your "problem". so you doens't need the timer