Navision and ODBC

rhurleyrhurley Member Posts: 4
edited 2001-02-21 in Navision Financials
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?

Comments

  • rhurleyrhurley Member Posts: 4
    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.


  • Dennis_DecoeneDennis_Decoene Member Posts: 123
    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.be
  • rhurleyrhurley Member Posts: 4
    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




  • Dennis_DecoeneDennis_Decoene Member Posts: 123
    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.be
  • Karsten_FuchsKarsten_Fuchs Member Posts: 4
    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.
Sign In or Register to comment.