I'm looking for a solution to write Data from Navision into a different database. A connection via ODBC (DAO or ADO) would be preferred.
It's not about reading or writing Navision via ODBC from outside. I want to write data into a SQL-Database (MySQL, MAXDB) directly after a user has pushed a button in Navision.
Is there anyone who can show me a tipp how to do this?
0
Comments
To help others here the code, here used with a simple Access Database.
Other Databases should work with just a different connection string
I tried to use your code to connect to a MySQL database using the MySQL ODBC driver.
It works fine when im reading data from the MySQL database, but i can not write data back with your eksample. It returns some errors in danish and translated into english "One or more error occured by a OLE DB action on several steps"
Any help is welcome
Best Regards
Thomas Son.
For more use look on proper delimiters and correct quoting of special characters like \ or ' .
Hope this helps
Please can you help me to solve this problem?!