Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Transaction problem

Transaction problem

Scheduled Pinned Locked Moved Database
helpdatabasequestionannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vinicius Pontes
    wrote on last edited by
    #1

    Hi, I'm having a runtime error when I execute the BeginTrans() _Connection method on a MSAccess database. Can someone tell me if there is any condition which can cause the error on this method? I don't believe that the problem would be the ADO version, because I have another application that uses this method on a MSAccess database without any problem, but any way, I am working with ADO 2.7. Thanks in advance, Vinicius

    B 1 Reply Last reply
    0
    • V Vinicius Pontes

      Hi, I'm having a runtime error when I execute the BeginTrans() _Connection method on a MSAccess database. Can someone tell me if there is any condition which can cause the error on this method? I don't believe that the problem would be the ADO version, because I have another application that uses this method on a MSAccess database without any problem, but any way, I am working with ADO 2.7. Thanks in advance, Vinicius

      B Offline
      B Offline
      BammBamm
      wrote on last edited by
      #2

      Is the connection open?

      V 1 Reply Last reply
      0
      • B BammBamm

        Is the connection open?

        V Offline
        V Offline
        Vinicius Pontes
        wrote on last edited by
        #3

        Yes it is. I found, somewhere in MSDN library, that if there is a recordset opened, the BeginTrans doesn't work. In my case, I have a recordset opened. I tryed to do the operation while the recordset was closed and that worked. The problem is that I need the recordset to be opened. Vinicius

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups