Results 1 to 2 of 2
  1. #1
    kgrauds2 is offline Novice
    Windows 10 Access 2016
    Join Date
    Apr 2019
    Posts
    1

    Append queries

    I have an inventory database where every item is assigned to a certain room. The main table is where all the details about items are stored. Then there's another - archive - table. I want it to be possible that when I change item's assigned room it appends the record with the old value to archive table and keeps the record with the new value in the main table. What's the best way to set this up?


  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    With a bunch of VBA code.

    If you want history of assignments then have an Assignments table. Items are assigned to rooms like books are assigned to people in a library. You might get ideas from MS Access Lending Library database template.
    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. key violations in append queries
    By louise in forum Queries
    Replies: 4
    Last Post: 06-07-2016, 08:55 AM
  2. How can I fix Append Queries?
    By bkleve in forum Queries
    Replies: 3
    Last Post: 08-18-2014, 02:30 PM
  3. Append two queries?
    By kestefon in forum Access
    Replies: 3
    Last Post: 11-21-2013, 06:39 AM
  4. Run Append and Update Queries
    By Govinda in forum Programming
    Replies: 1
    Last Post: 04-04-2013, 01:14 AM
  5. Append Queries
    By HunterEngineeringCoop in forum Queries
    Replies: 8
    Last Post: 12-12-2012, 01:10 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