Create a button to open new page in Nav 2015 with C/Al

ParamsParams Member Posts: 2
Hello Everybody,

Have a small problem.

We have recently upgraded to Nav 2015 in our Company.

there are a lot of pages and subpages created in the last version and some are with problems.

I would like to open a Page by giving a reference of one page. but a NEW BLANK page.


BEGIN

PAGE.RUN(PAGE::"Ficha Obra Nueva 2");

//CurrForm.CLOSE;

END;


How can I open a New Blank Page: "Ficha Obra Nueva 2" instead of page with data from the first Line ?

Any help would be very much much appreciated.

Thanks

Param

Best Answer

Answers

  • krikikriki Member, Moderator Posts: 9,112
    [Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • ParamsParams Member Posts: 2
    Dear Mohana, thanks for your reply and is quite helpful,
    Adding another question to it..
    Is it Possible to do it with Programming, cause there are some option I would like to use.
    Thanks
  • gbierkensgbierkens Member Posts: 49
    Hi Params,

    You can do this as follows:
    globalrec.SETRANGE(xxx);
    PAGE.RUNMODAL(PAGE::"Page name",globalrec);

    The global rec should be the record of the page you are opening.
Sign In or Register to comment.