NAV 5.0 Record Link

ncruz365ncruz365 Member Posts: 18
Any of you know how I can invoke the Record Link form from a code unit? I know that my other option is to create
a new form for Record Link table, but the 2nd issue is I need to be able to open the link just like the open function
on the Record Link form.

Any help is much appreciated.

Thanks,

Norman

Comments

  • kinekine Member Posts: 12,562
    IN most cases you can use the WSH and the Open command.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ncruz365ncruz365 Member Posts: 18
    Thanks for the reply.

    I will try it and see if i can make it work by using the plain open function.
  • kinekine Member Posts: 12,562
    Sorry, it is not open, but Run command...

    You need just variable of type automation with subtype 'Windows Script Host Object Model'.WshShell and use the Run method to open the link...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ncruz365ncruz365 Member Posts: 18
    Glad you caught it. I would have been pulling my hair out trying to make it work.

    Thanks for your help Kamel.
Sign In or Register to comment.