How to open Blank Card page using codeunit

Hi All,

     I want to open a blank new card page  using codeunit. i have coded this things like..

Init;

Insert(True);

No. :=' ';

Modify(true);

page.run(page::.....,rec);

But not working , how can i open blank card page, please give me some suggestion. 

  • Yes i got it,
    Init;
    No. := ' ';
    Insert(true);
    Page.Run(Page :: "---------",rec);
    it's worked.
Related