Results 1 to 2 of 2
  1. #1
    gehrenfeld is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Posts
    9

    INSERT INTO field using three different tables

    I have three different tables. hours, salary, and pay. In the hours' table, one field is named regular, in the salary, one field is named regular, and in the pay table, one filed is named regular.




    On the input form where I enter the hours, I have a button named update pay. When I click on the button I want to INSERT INTO pay.regular = hours.regular * salary.regular


    I have tried JOIN, UNION, AND INNER and can not get it to work.


    What is the correct DoCmd.RunSQL statement to accomplish this?

  2. #2
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi can you upload a zipped copy of the db?

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

Similar Threads

  1. INSERT INTO on relational tables
    By cypress1976 in forum Queries
    Replies: 4
    Last Post: 11-15-2016, 08:58 AM
  2. insert into multiple tables
    By vicsaccess in forum Programming
    Replies: 4
    Last Post: 01-25-2016, 07:03 PM
  3. insert into 2 diferent tables
    By Rafaeljunio.ti in forum Access
    Replies: 9
    Last Post: 12-09-2012, 02:42 PM
  4. select and insert using two seperate tables
    By benjammin in forum Queries
    Replies: 2
    Last Post: 02-20-2011, 04:52 PM
  5. Updating two tables using SQL Insert Into
    By glazzaro in forum Programming
    Replies: 0
    Last Post: 05-02-2008, 10:52 PM

Tags for this Thread

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