Navision and ODBC

rhurley
Member Posts: 4
I can sucessfully open a recordset and fill web pages with Navision data, but as soon as I attempt to create a new record and update it I recieve a Navision ISAM error.
Any suggestions to resolve this?
Any suggestions to resolve this?
0
Comments
-
No. I checked that right off when I had the problem and found it was not set in the ODBC setup. I have even attempted this with a simple file with only two fields set up and still recieve the same error.
Thanks for the reply.
0 -
Can you give a more specific error message?
Dennis Decoene
Navision Software Engineer
MicroComputing NV
Nijverheidsweg 1
9820 Merelbeke
Belgium
Tel: +32 (0)9/231.26.88
Fax: +32 (0)9/231.77.57
http://www.microcomputing.be0 -
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Navision Software a/s][Navision Financials ODBC Driver]ISAM error
Here is a sample of the code.<% sub addNavisionEvent
set navconnect = server.createobject("ADODB.Connection")
navconnect.open "Lile-Navision"
set navAppointment = server.createobject("ADODB.Recordset")
set navSales = server.createobject("ADODB.Recordset")
navSales.open "Select * FROM Salesperson_Purchaser WHERE Calendar_User_Name = '" & ucase(sUserName) & "'", navconnect
navAppointment.open "TestTable",navconnect,adOpenStatic, adLockOptimistic, adCmdTable
navAppointment.addnew
navAppointment("No_") = "ABCD"
navAppointment("Test") = "Testing"
navAppointment.UPDATE
0 -
Is your connection opened as read only?
Dennis Decoene
Navision Software Engineer
MicroComputing NV
Nijverheidsweg 1
9820 Merelbeke
Belgium
Tel: +32 (0)9/231.26.88
Fax: +32 (0)9/231.77.57
http://www.microcomputing.be0 -
Is there any CODE field in your table ? If so we do have the same problem. Changing the CODE field(s) to Text could do it.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