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,764

    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
    1,466

    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
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    I say you're crazy not to!
    --------------------------------------------------------------------------------------------------
    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