Navision as linked server in SQL Server 2000

Faberman
Member Posts: 24
I am attempting to construct a database app. using MS Access 2000 (adp) and SQL server.
I would like to access our native Navision database to execute queries upon it i.e. when running reports or retrieving data on a 'read' basis and displaying it on a form.
I have set up a linked server in SQL and called it NAVISION.
I found an example of a stored procedure which accesses the Nav linked server (using ODBC), but when I run it in Access, I get a message saying that the procedure ran successfully but didn't return any records.

Can anyone send me an example of either a stored procedure or a view, which can access a linked server (and return records) and that can be used as the data source for a form or report?
Any advice will be welcomed.
Thanks.
I would like to access our native Navision database to execute queries upon it i.e. when running reports or retrieving data on a 'read' basis and displaying it on a form.
I have set up a linked server in SQL and called it NAVISION.
I found an example of a stored procedure which accesses the Nav linked server (using ODBC), but when I run it in Access, I get a message saying that the procedure ran successfully but didn't return any records.

Can anyone send me an example of either a stored procedure or a view, which can access a linked server (and return records) and that can be used as the data source for a form or report?
Any advice will be welcomed.
Thanks.
0
Comments
-
U want to access Nav DB from Ms Access , is that the thing you want ? make it clear0
-
Hi,
If you only want to read the SQL database (Navision application) you don't need any linked server. Just create an access project. When you open access you can choose to create a new or open an existing database. But you can also choose to create a project (is an access frontend tied to an SQL server). Just choose there the project with existing data and make a connection to the sql-server (name, database name, user name and password must be known). After that you will get a accees project in which you can find back all your tables. here you can add reports (will be stored in the project file and not in the SQL database).
But be aware that changing any data there directly in the table or by a form might corrupt your Navision database. [-X
It's just that easy. :whistle:
Regards
Francois Loyens0
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