Results 1 to 3 of 3
  1. #1
    gz3s36 is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Sep 2017
    Posts
    2

    New to Access

    I have never used Access before. I use Excel. Anyways, I need to do one thing in Access. I have a column called 'last purchase date' in theemployeepurchase:table. I need to populate that column from the tblwrite:table. with each employees last purchase date. I know I am in over my head but maybe someone can point me in the right direction.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    make a query, Q1, to get the employee last purchase date.
    (turn on summation)

    Q1 = select Emp#, Max(purchaseDate)

    now you cannot update AND sum in queries, SO , you must write this data to a temp table. So have the query , make table to tTemp table.
    then make Q2, use tTemp and update to your other table: tblwrite:table
    join tTemp to
    tblwrite on Emp# then update the LastPurchseDate field.

  3. #3
    gz3s36 is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Sep 2017
    Posts
    2
    Thank you, I'll give it a try.

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

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