Options

a simple question

garychickgarychick Member Posts: 34
Hi All,

How to display C:\ABC\XXX\ in a message box, '\' represents new line in Navision.

Message('C:\ABC\XXX\')

will become
c:
ABC
XXX

How to display it correctly? Thanks.

Comments

  • Options
    JJ Member Posts: 10
    Hi There,

    To accomplish this you should do the following.
    Message('%1', 'C:\ABC\XXX\');
    

    This will display the text correctly in the messagebox.

    Cheers,

    8) J 8)
  • Options
    kinekine Member Posts: 12,562
    Right way is to define Text Constant for the string and show this constant... do not forget to multilanguage... :-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.