Results 1 to 3 of 3
  1. #1
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134

    vba BeginTrans CommitTrans Rollback Methods

    Hi there!



    silly question.. when do I need to use the methods mentioned above (BeginTrans, Commit and Rollback)?

    Do I need to use them always when I am working with recordsets, creating queries?

    Thanks again,

    Regards!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    I have one db which has used these methods for complicated processes that modify data - mostly involving deleting but a couple that create records. Data integrity in this db does not rely entirely on established relationships but is instead tightly controlled by hidden nav pane, disabled shortcuts and menus, ribbon customization, form design, and lots of code.

    No idea why would be needed for creating queries.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134
    Thanks for the info. Just wanted to know.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Database Bloat on DAO CommitTrans by 400 kb/commit
    By angeleumbra in forum Programming
    Replies: 7
    Last Post: 06-09-2022, 11:17 AM
  2. Replies: 4
    Last Post: 03-17-2016, 09:31 AM
  3. Replies: 1
    Last Post: 10-26-2014, 09:34 AM
  4. Using Rollback with a workspace
    By Perceptus in forum Programming
    Replies: 2
    Last Post: 03-21-2013, 12:44 PM
  5. Rollback of data in a bound subform
    By mrk68 in forum Forms
    Replies: 3
    Last Post: 04-14-2009, 05:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums