dcsimg
Results 1 to 2 of 2

Thread: check if a begintrans is called...

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Italy-Napoli
    Posts
    1,944

    check if a begintrans is called...

    possible if a begintrans is called and commit if is true?

    I'm working on VB6 and ADO

  2. #2
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    2,087

    Re: check if a begintrans is called...

    Huh?
    Since BeginTrans returns the Level of nested Transactions, everything greater than zero should give you a clue (or comparing it to the/a previous Level).
    Or use the BeginTransComplete-Event of the Connection-Object

    https://www.w3schools.com/asp/met_conn_begintrans.asp
    One System to rule them all, One IDE to find them,
    One Code to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    For health reasons i try to avoid reading unformatted Code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width