Results 1 to 2 of 2
  1. #1
    Rhubie is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    85

    Unhappy Table and Query meshing with calculated fields

    I have Table A which has the following data which was imported from Excel from a Quickbooks file

    01-M0011


    01-M0012
    01-M0013
    01-M0014

    01-M0021
    01-M0022
    01-M0023
    01-M0024

    Table B - Access Table that has:

    01-M0011
    01-M0021

    I have a query that does calculations on the data from Table B
    Book Price BookHalfPack Price BookPack Price Pack Price
    01-M0011 42.75 40.25 37.75 754.60
    01-M0021 43.40 40.90 38.40 768.40



    I need to get the prices into the Table A (or another query)
    01-M0011 42.75
    01-M0012 40.25
    01-M0013 37.75
    01-M0014 754.60
    01-M0021 43.40
    01-M0022 40.90
    01-M0023 38.40
    01-M0024 768.40

    I did set up a field in Table A that has values of 1, 2, 3, 4 and thought that I could do an IIf statement, but I don't know how to match - or if I could put the 01-M0011 into a variable and then use the 1,2,3,4 to match. If 1 then Book, 2 then BookHalfPackPrice, 3 then BookPackPrice, 4 then packprice - but I don't know how to connect to the right book, bookhalfpackprice, etc.

  2. #2
    Rhubie is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    85
    Any suggestions - on how this can or cannot be done

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

Similar Threads

  1. Replies: 5
    Last Post: 02-08-2013, 11:28 AM
  2. Replies: 14
    Last Post: 11-09-2012, 01:19 PM
  3. Replies: 2
    Last Post: 06-10-2012, 01:10 PM
  4. calculated fields appearing in table
    By jamhome in forum Access
    Replies: 16
    Last Post: 07-19-2011, 02:57 PM
  5. Replies: 1
    Last Post: 05-04-2011, 03:51 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