Results 1 to 2 of 2
  1. #1
    JeRz is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    Jul 2014
    Posts
    33

    Moving records

    Hi everyone,



    newbie to the forums. This site has helped me out so much this far.

    if I have 2 tables one being 'open issues' and the other being 'closed issues' is there a way so that when I update the 'status' field, for example, to 'closed', that it would automatically move the issue from the open issues table to the closed table?

    Any help would be greatly appreciated! Thanks!

  2. #2
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Yep! you can create an append query that runs on the "Open issue" table, and have it append all records that have the "status" field set to "closed" to the "Closed Issues" table. After that, you will need to create a delete query that also runs on the "Open issue" table which will then delete the records that were just appended to the "Closed Issues" table.

    Set these two macros in the Afterupdate property of the "Status" field.

    Also if you'd like, you can attach your DB and I can look at it and maybe create it for you or just lead you in the right direction.

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

Similar Threads

  1. Moving all records in field down 3 records
    By sevanty7 in forum Access
    Replies: 2
    Last Post: 05-30-2013, 11:36 AM
  2. Moving Records
    By Taximan in forum Access
    Replies: 5
    Last Post: 01-13-2012, 05:14 PM
  3. Moving records from one table to another
    By donavan01 in forum Queries
    Replies: 1
    Last Post: 02-16-2011, 01:53 PM
  4. Moving through records via Page Down
    By Robert M in forum Programming
    Replies: 4
    Last Post: 07-28-2009, 09:21 AM
  5. Moving records up
    By saqqer in forum Programming
    Replies: 0
    Last Post: 07-27-2009, 08:29 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