Writing into a NF 2.01 table from an external program

pmarloz
Member Posts: 10
I´m a NF 2.01 user.
Is it true that the ODBC driver that comes with NF is a Read-only driver?
I have tried to make a program in Visual Basic to write data into a NF table usin DAO and ODBC. I get the error message '[Navision Software A/S][Navision Financials ODBC Driver]Data source is read-only'.
If it is true that is read-only, how can I write data in a NF table from outside?
Thx
Is it true that the ODBC driver that comes with NF is a Read-only driver?
I have tried to make a program in Visual Basic to write data into a NF table usin DAO and ODBC. I get the error message '[Navision Software A/S][Navision Financials ODBC Driver]Data source is read-only'.
If it is true that is read-only, how can I write data in a NF table from outside?
Thx
0
Comments
-
'Read only' is a C/ODBC data source configuration option.
Go to the Control Panel/.../ODBC Data Source Administration dialog, select the C/ODBC data source you are using, and click 'Configure'.
On the 'C/ODBC Setup' dialog that appears, click the 'Options...' button. You should see a check box labled 'Read Only'. Clear this check box, and C/ODBC should support INSERT and UPDATE statements.0 -
BUT!!! Be careful with writing data into Navision through C/ODBC! No triggers are called, data are not validated!0
-
fb wrote:On the 'C/ODBC Setup' dialog that appears, click the 'Options...' button. You should see a check box labled 'Read Only'. Clear this check box, and C/ODBC should support INSERT and UPDATE statements.
IT WORKED!!!! .For some reason that i cannot understand the clause "RO=Yes" was in the connection string that I use to open the NF Database.
Thank you very much. You made me save a lot of time and money.0 -
kine wrote:BUT!!! Be careful with writing data into Navision through C/ODBC! No triggers are called, data are not validated!
Thank you anyway for the warning.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