Results 1 to 2 of 2
  1. #1
    LCG4LIFE is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2011
    Posts
    1

    Question about how to take 2 values from 2 tables on the same day and * them

    I have 2 tables set up. The first has 4 fields ID, Date, Quantity1, Quantity2, Quantity3. The Second has ID, Date, Price1, Price2, Price3.

    I'm looking for a way to have quantity multiple price on the same day.

    Example:

    Table 1
    ID:1
    Date:3/14/2011


    Quantity 1:300

    Table 2:
    ID:1
    Date:3/14/2011
    Price 1: $3.50

    How I'd like this to work is for a query or something to take from table 1 on 3/14/2011 300 and multiply it be table 2's 3/14/2011 price of $3.50.

    I've only been using access for several days so I'm green. If anyone can help and keep it simple that would be appreciated.

  2. #2
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,173
    Hi,

    first I would look at your database design, if you have a table with fields like quantity1, quantity2, ... you aren't even in first normal form, so you're bound to get into trouble.
    Normalize your database design and all will be much easier.
    There are a lot of sites where you get tips how to design your database like http://www.databasedev.co.uk/databas...on_basics.html.


    gr
    NG

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

Similar Threads

  1. Linked tables need values that are NOT EQUAL
    By gus1339 in forum Queries
    Replies: 3
    Last Post: 04-11-2011, 06:55 PM
  2. Replies: 4
    Last Post: 02-11-2011, 10:25 AM
  3. Replies: 8
    Last Post: 05-25-2010, 04:50 AM
  4. UNION two tables with same primary key values
    By carillonator in forum Queries
    Replies: 1
    Last Post: 02-02-2010, 08:54 PM
  5. Replies: 1
    Last Post: 06-20-2007, 07: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