Results 1 to 2 of 2
  1. #1
    bubai is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2014
    Location
    Dhaka
    Posts
    162

    Calculation with a Lookup field in another table

    Hello folks. Here I come again with another problem in my database. So…


    My Sales! table has fields [ItemType] and [Price] and VAT! table has [ItemType] and [VATRate]. Both tables has a common field which is [ItemType]. I’m trying to make a query which will calculate the VAT figure by multiplying the Sales table [Price] with the corresponding [VATRate] in the VAT table by matching the [ItemType] in both tables. I tried DLookup but couldn’t find a solution. How do I accomplish this?

  2. #2
    bubai is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2014
    Location
    Dhaka
    Posts
    162
    Sorry guys,
    I've fiund out the solution by myself. I just had to bring the two tables to the query grid and join the matching fields. Then simple multiplication had it done.

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

Similar Threads

  1. Replies: 3
    Last Post: 05-31-2014, 11:37 AM
  2. Automatic calculation of table field (A2003)
    By GraeagleBill in forum Programming
    Replies: 9
    Last Post: 04-20-2013, 12:06 PM
  3. Calculation Field in table vs Query calculation
    By Leonidsg in forum Database Design
    Replies: 18
    Last Post: 02-28-2013, 09:38 PM
  4. Lookup a field from another table?
    By yeleek in forum Reports
    Replies: 6
    Last Post: 06-08-2012, 08:43 AM
  5. lookup value for report calculation
    By josbor01 in forum Reports
    Replies: 0
    Last Post: 03-02-2010, 01:41 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