Results 1 to 3 of 3
  1. #1
    webisti is offline The Wisher
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    115

    keeping the history of the data but also updating them

    Hi I am trying to create a query (LATE_PO) that will pull out data from the db to show all opened PO for a given vendor
    I want to populate a table (OPEN_PO) with the results of the query.
    in a form I am using the table as a source to check these PO data and update comments from vendor when required.
    This process will happen on a regular basis let`s say once per week.
    How can I make it possible that when a PO is appearing more than once,(the query is an append query) to have it copied in the table and show in the form the lattest comments on it, not to have a double entry and to rewrite the comments again?


    Can that be done via a VBA or it is needed a set of queries.
    Thanks for your inputs

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Let me see if I have it right - there is a table containing PO's, one record per PO. There is a table containing comments with a date which will be a one-to-many relationship. You want there to be one record per PO with the latest comments in your append query.

    Create a query that will contain the PO and the latest comment. Then bring that query in to your append query and join by PO, that way you will get only the latest comment.

  3. #3
    webisti is offline The Wisher
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    115
    Actually I solved it with index usage. (indexing the query with the table where I do have the records)
    Works cool.

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

Similar Threads

  1. Updating table data while in use
    By crispy-bacon in forum Access
    Replies: 5
    Last Post: 06-03-2011, 12:49 PM
  2. Updating Table Data Automatically
    By aquarius in forum Import/Export Data
    Replies: 6
    Last Post: 09-16-2010, 03:07 PM
  3. updating a form with new data
    By markjkubicki in forum Forms
    Replies: 6
    Last Post: 08-25-2010, 01:29 PM
  4. Memo Field Not Keeping Data
    By maintt in forum Forms
    Replies: 1
    Last Post: 08-12-2010, 05:55 PM
  5. Importing and updating data.
    By mikej2009 in forum Import/Export Data
    Replies: 1
    Last Post: 05-23-2010, 11:30 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