Style Sheet error

smeadesmeade Member Posts: 33
I am making my first attempt at Style Sheets in 5.0, I have imported the .fob file StyleSheetToolW111 and imported the objects.....I am now following the USER's GUIDE Style Sheet Tool 1 0 for Dynamics NAV 5 0 v 2

When I click on the Send Options button I get an error that says 'The program to launch has not been defined in the Send-to Program table. I look at the data in the table and there is an entry for Word and one for Excel. What am I missing in the Send-to Program table?

Comments

  • BeliasBelias Member Posts: 2,998
    obj designer, form 691, run
    insert these lines

    EXCEL.EXE EXCEL.EXE
    WINWORD.EXE WINWORD.EXE

    then run form 690, select stylesheets common to all forms, press functions, import and fill the fields:

    Style sheet =(path to your NAV Installation folder)\NavisionFormToWord.xslt

    Name= What you want

    send to program = winword

    do the same 4 excel (using navisionformtoexcel and excel.exe)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • smeadesmeade Member Posts: 33
    thanks for the response, the tool that I imported into my database does not include forms 690 and 691. Do I have an outdated version of the tool?
  • BeliasBelias Member Posts: 2,998
    Sorry, maybe i misunderstood you...
    what do you see in send to progr. table?
    But Nav 50 MUST have those two forms!
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • smeadesmeade Member Posts: 33
    The Send-to Program Table has these two entries...

    Program ID Executable Parameter Name
    {00024500-0000-0000-C000-000000000046} EXCEL.EXE %1 Microsoft Excel
    {000209FF-0000-0000-C000-000000000046} WINWORD.EXE %1 Microsoft Word

    I am not sure why I dont have those two forms.....are they not part of the Style Sheet Tool?
  • smeadesmeade Member Posts: 33
    Belias,

    Thanks for you help.....turns out the database I was using was a 4.0 database converted to run in 5.0. I imported the objects I need and your instructions worked great.....now my question is when you click on Send Options from say an item card for example, how do you tell the system to use a Style Sheet instead of sending the entire Item Card?
  • smeadesmeade Member Posts: 33
    I guess a better question would be how do I get the style sheet I just created to show up in the list when I click on Send Options?
  • smeadesmeade Member Posts: 33
    and the answer is go to the list and choose it, DUH!!!
  • BeliasBelias Member Posts: 2,998
    Sorry if I disappeared yesterday...I was a bit busy...

    BTW...It's all well when it ends well... :mrgreen:

    (don't know if the phrase is used in english... :-k )
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.