Results 1 to 2 of 2
  1. #1
    sinisterfrog is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2018
    Posts
    23

    Run append query "on change"

    I am sure I am missing something obvious here....




    I have a field which tracks the location of a product [SlideData].[slocation] which changes regularly throughout the day and I would like a record of every time the field changes with timestamp.

    I've made a new table [Tracking] with fields that correlate with the [slidedata] table so that I can make an append query~ but i am having issues with the criteria to limit what is being appended to that table.

    My hope was that when the field [slocation] is updated in the form, that the append query would run and only add the the items where Slocation has changed~ instead (presumably because I didnt have any criteria) it added the entirety of the [slidedata] table to the [tracking] table.

    Any help would appreciated.

    -Matt

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Certainly need some criteria to restrict record insert. What are you using?
    Post your code for analysis.

    For an example of an audit tracking process review http://allenbrowne.com/AppAudit.html
    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.

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

Similar Threads

  1. Replies: 11
    Last Post: 07-14-2017, 11:13 AM
  2. Replies: 3
    Last Post: 04-20-2016, 02:50 PM
  3. Replies: 3
    Last Post: 02-08-2016, 09:52 AM
  4. Replies: 1
    Last Post: 06-14-2015, 09:48 AM
  5. Replies: 5
    Last Post: 02-05-2013, 10:57 PM

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