Results 1 to 2 of 2
  1. #1
    3bgt650 is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2017
    Posts
    3

    Question Multiply two fields from two different tables and update a field in one of them with the result

    All - I'm working with an MS ACCESS 2010 db developed for timekeeping purposes.



    One table (TRHISTORY) is used to collect hours (HRS) and cost (COST) per job, per employee (EMP_ID). The other table (WAGE) holds rate data (ImgRate) for each employee (IngEMP_ID).

    TRHISTORY table fields:
    EMP_ID
    HRS
    COST

    WAGE table fields:
    IngEMP_ID
    ImgRage

    My question -

    How do I calculate cost using the above fields (TRHISTORY.HRS and WAGE.ImgRate) and update the COST field in each TRHISTORY record accordingly?

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Create an update query which joins the two tables and does the calculation based on the formula.

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

Similar Threads

  1. Replies: 30
    Last Post: 09-23-2015, 07:24 AM
  2. Replies: 3
    Last Post: 04-23-2014, 08:22 PM
  3. Replies: 2
    Last Post: 08-30-2012, 07:59 AM
  4. Replies: 8
    Last Post: 03-18-2012, 11:17 AM
  5. Ado update for multiply records
    By thanosgr in forum Access
    Replies: 26
    Last Post: 03-16-2012, 01:26 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