Connection String for Navision

ta5ta5 Member Posts: 1,164
Hi
I've found some topics concerning connection string, but they were all for connecting to a database from within Navision.

My question is:
How excactly does the connection string look for an application (lets say VB) to connect to Navision 4.03 through ODBC?



Thanks in advance
Thomas

Comments

  • nunomaianunomaia Member Posts: 1,153
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • ta5ta5 Member Posts: 1,164
    Hi
    I'm using the Driver for Navision 4.
    Comparing the documentation to Navision 3.7 it seems that DSN Less connections are not possible/not documented any more :?

    Anyway, this works:
    Conn.open "navision-dsn" //connection using dsn
    

    This does not work:
    Conn.open "Driver=Navision ODBC;sn=  //connection using full connection string
    Anybody has the full syntax for that?
    

    Thanks in advance

    Thomas
Sign In or Register to comment.