Excel automation - ODBC

manu
Member Posts: 4
For a while back i created a small VBA code snippet that
automated data retreival from Navison by using the querytables
object. Everything worked fine until the customers upgraded
to Navision 2.6D and changed the server.
Now every time the code is run an general ODBC error message occurs and thus code fails. I have updated the connection string to no avail.
Has anybody had the same experience?
tia
Manuel Fraga
automated data retreival from Navison by using the querytables
object. Everything worked fine until the customers upgraded
to Navision 2.6D and changed the server.
Now every time the code is run an general ODBC error message occurs and thus code fails. I have updated the connection string to no avail.
Has anybody had the same experience?
tia
Manuel Fraga
0
Comments
-
Yes, I made this experience also. In your case you have three components which should work together: VBA, ODBC and Navision. If one of the components change you need to adapt your code and your installation (new ODBC driver has to be installed on every client!)
That's why I never would use ODBC in a real-life project. Instead use Automation to write the data directly to the worksheet.
Marcus Fabian
m.fabian@thenet.ch
+41 79 439 78 72With best regards from Switzerland
Marcus Fabian0 -
Just what version did you upgrade from?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions