Results 1 to 5 of 5
  1. #1
    scotiwis is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12

    Auditing Programmatic Changes - Help!

    We have a series of very large Access db's (using linked tables from SQL).
    We need to be able to audit/track all changes made to forms/reports/VBA (and ideally queries) by our programmers.
    Data auditing is fine - have programmed that into it.
    But how on earth do you audit programmatic changes.
    Any clues from anyone would be greatly appreciated.

    Many thanks

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    I don't think you can other than to make notes in the comments of all your code and/or keep all replaced objects (queries, reports, forms, etc) for a specific amount of time in case you need to revert to them.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I agree: notes in code, comment out old code, copies of objects in db, and backups of the file.
    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.

  4. #4
    scotiwis is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12
    Thanks guys, but not sure how notes in code etc would work. What I need is something that will output to an audit table all changes made to the databases. eg if the programmer goes in and changes the underlying VBA on a control I need the audit table to reflect their change. If a report is amended I need the audit table to reflect it. ie all program changes made need to automatically be reflected in an audit table. The idea is that the programmers can't change anything without it being tracked and audited.

  5. #5
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    I think we already answered that question. It's not possible unless you create a audit log and your programmers log their changes manually. It is not something you can do automatically. Comments in VBA are noted by string starting with ' so for instance if you wanted to add a comment to a section of code that was added today you'd have something like

    'this coded modified 11/6/2012 by scotwis to include negative numbers

    Changes to queries, reports, forms etc can all be noted in the vba window so even if you have no code running when you open a report you can still have a vba window with comments about that report and what was changed on what day but it's strictly a manual process.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-10-2012, 01:57 PM
  2. Replies: 2
    Last Post: 06-23-2012, 12:09 PM
  3. Access checkboxes & auditing
    By aqutan in forum Access
    Replies: 6
    Last Post: 09-15-2011, 08:45 AM
  4. Auditing in Access Database
    By hannankhanji in forum Access
    Replies: 0
    Last Post: 03-01-2011, 05:21 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