FORM.RUN opens form differently than FORM.RUNMODAL

GaryDGaryD Member Posts: 66
Hello, we're using NAV 2009 SP1 (Version NA Dynamics NAV 5.0 (6.00.29626)) with SQL Server 2005. I've encountered a strange issue. If I run the following:
FORM.RUNMODAL(FORM::"Item Card");
The Item Card opens up on the third tab (the Cartons tab for us).
However, if I do this:
FORM.RUN(FORM::"Item Card");
The Item Card will open up on the General tab.

Anyone have any idea why this would be?

Thanks!

Comments

  • vijay_gvijay_g Member Posts: 884
    It's not like this, both function has to show form that it was in previous stage.
    the only difference is you could able to get return type(Action) in RUNMODAL.
    for more clearification see help guide.
  • kapamaroukapamarou Member Posts: 1,152
    Have you saved the form or are you changing the code and hitting ctrl-r? I would expect the form to behave the same.
  • GaryDGaryD Member Posts: 66
    I've not changed anything on the Item card. I made a test form, put two buttons on it, coded one for the .RUN and the other for the .RUNModal. I don't do anything in the Item card when it comes up, I just close it back down. The two buttons still open the Item card differently
Sign In or Register to comment.