Calling a Form or a Page

sabzam
sabzam Member Posts: 1,149
edited 2010-08-03 in NAV Three Tier
I have got a codeunit and need to run a form or a page depending on the version whislt running the coduenit. That is I need to runmodal. What should i do in order to instruct NAV to run the form in a classic version and a particular page in the RTC?

Comments

  • sabzam
    sabzam Member Posts: 1,149
    Dear All,

    I think I found the way:

    If IsServiceTier then
    Page.RUN(4711);
    else
    Form.Run (4711);
  • kriki
    kriki Member, Moderator Posts: 9,135
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!