Results 1 to 5 of 5
  1. #1
    lghovden06 is offline Novice
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    3

    Question Combine two unrelated tables with the same fields

    I have two tables of products each of them a different brand with the same field names
    brand1:
    material number
    material name


    UnitOfMeasure
    Multiple
    Bulked (yes/no)
    Price
    $/Gal
    brand2:
    same fields as above
    table1 has 700 records and table 2 has 100
    Each customer orders products from both brands. So what I want to do is for a customer's price list query, combine all of the products from both tables and then select the products that customer buys by using a (yes/no) field. I know I can using a union query, but then the query cannot update. So if we want to change a price of a product for that customer I can't unless I go to the base table, but if possible I would like to do it from that customer query.
    Any ideas?
    Thanks!!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Why do you have the data in two tables? Typically it would all be in one, with an additional field to denote the brand.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    lghovden06 is offline Novice
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    3
    When there is a price change from our supplier, I download the the new price change from online in an excel format and then I import the excel spreadsheet into access to update that brand's product's prices.

  4. #4
    lghovden06 is offline Novice
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    3
    I found a way to make your suggestion work while still being able to import an excel file. Thanks!

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Glad you got it working, and welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Combine fields into one
    By cotri in forum Forms
    Replies: 2
    Last Post: 03-04-2010, 02:42 PM
  2. Replies: 27
    Last Post: 10-17-2009, 10:58 AM
  3. Replies: 1
    Last Post: 07-07-2009, 01:00 PM
  4. I have 4 Tables in Access - can I combine them?
    By officespace in forum Access
    Replies: 6
    Last Post: 02-22-2009, 07:21 AM
  5. combine three tables in a query
    By neuenglander in forum Queries
    Replies: 0
    Last Post: 08-21-2008, 04:02 AM

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