Access Navision Tables via SQL ODBC

BGI
Member Posts: 176
When you want to access pe. the item table stored in a SQL Navision via SQLODBC to a access database you probably have problems with the the field Item no. because a . is not an allowed character.
Also some customers of us have problems with the table names because they contain a $.
I tried different options but none seems to do the trick except of creating views for every table, witch i don't want to do !
It seems that navision has some kind of work arround for this.
Anybody knows what this workaround is and has tried it succesfully (pe with business objects or even msaccess) ??
Any help would be appreciatd !
Rgds
Benny Giebens
Also some customers of us have problems with the table names because they contain a $.
I tried different options but none seems to do the trick except of creating views for every table, witch i don't want to do !
It seems that navision has some kind of work arround for this.
Anybody knows what this workaround is and has tried it succesfully (pe with business objects or even msaccess) ??
Any help would be appreciatd !
Rgds
Benny Giebens
Rgds
Benny Giebens
Benny Giebens
0
Comments
-
You are stuck. The only work around I know is for C++ developers and MS Query users who do not bring the data back into Excel.
You have to create views as this is an MS Office apps bug dealing with the Microsoft way to reference SQL server (aka server.database.owner.table.column syntax). Throwing in extra periods (even with [No.] in brackets) only messes things up. The old native C/ODBC driver at least had a workaround in the Options, Identifiers=a-z,A-Z,0-9,_
Try writing a VBA routine in Access (or VB) that will automatically read the table definition (via ADOX), generate and execute SQL CREATE VIEW statements for general consumption.
kraxmo
:roll: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