Using ADO in NAV 2009 R1 Classic

swj
Member Posts: 68
Hi experts,
Firstly my apologies if my question has been discussed as I tried to search in mibuso and google but I could not find what I am looking for.
I need to access other SQL Database (in other SQL Server) from NAV 2009 R1 Classic using ADO.
Based on this blog http://dynamicsuser.net/blogs/waldo/arc ... -side.aspx
However in NAV 2009 R1, there is no datatype Automation.
There is other method but for NAV 2009 R2.
Can you please advise if you have any link about this technique. Thank you in advance
Firstly my apologies if my question has been discussed as I tried to search in mibuso and google but I could not find what I am looking for.
I need to access other SQL Database (in other SQL Server) from NAV 2009 R1 Classic using ADO.
Based on this blog http://dynamicsuser.net/blogs/waldo/arc ... -side.aspx
However in NAV 2009 R1, there is no datatype Automation.
There is other method but for NAV 2009 R2.
Can you please advise if you have any link about this technique. Thank you in advance
0
Answers
-
I'm not entirely sure what you mean by "However in NAV 2009 R1, there is no datatype Automation.", are you using the RTC or Classic client?
We're using ADO connections, the same code we used in Navision 4 in both Nav 2009 SP1 and R2 classic clients.0 -
Thanks for your reply.
When I want to add global variable for ADO Connection, i should select DataType "Automation"... however the message is "Automation is not an option.
I realised that NAV 2009 do not have automation data type anymore, when I tried to import code unit from http://www.mibuso.com/dlinfo.asp?FileID=589
I encountered the same message...0 -
forget to add... I am using NAV 2009 R1 Classic0
-
BTW: R1 does not exist. It is SP1 or R2.
But the automation exists in both versions. Maybe you are not using the correct license to use automations. Are you using a full developer license?Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi kriki,
Thanks for your info. It may be because of licensing issue.
I am using customer license however our company has developer license and able to create/read/modify codeunit as well.0 -
I am not sure, but it might be this granule you need: 1750 C/OCX.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi kriki,
Thanks! will contact our partner for this.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