HYPERLINK instead of SHELL

mfabianmfabian SwitzerlandMember Posts: 187
edited 2001-03-26 in NAV Tips & Tricks
You can open a WinWord-Document within Navision with the SHELL-statement such as ..

SHELL ('C:\Office\WinWord.EXE D:\Documents\Navision\MyDocument.doc);

But you can achieve the same with the Hyperlink statement:

hyperlink('D:\Documents\Navision\MyDocument.doc');

Of course this works with all registered document types:
hyperlink('MySheet.xls'); --> opens Excel
hyperlink('MyDok.pdf'); --> opens Acrobat


Marcus Fabian
[email protected]
+41 79 439 78 72

[This message has been edited by fabian (edited 01-08-2000).]
With best regards from Switzerland

Marcus Fabian

Comments

  • stamenstamen Member Posts: 13
    When you use a file from a server you must use Hyperlink statement in this mode:
    HYPERLINK('file:\\ServerName\Documents\Navision\MyDocument.doc');

    Stamen Delikostov
    Team Vision Bulgaria Ltd.
    Stamen Delikostov
    Intelligent Sysytems Bulgaria Ltd.
    email: [email protected]
Sign In or Register to comment.