Results 1 to 3 of 3
  1. #1
    julessantana is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    7

    Question calculated field in query? other ideas?

    I need to multiply a column in a query by another column in a query. One is a value, and one is currency.



    One table has a list of commodities and costs per commodity.

    Another table has a list of all of the open purchase order lines, including the type of commodity, and the remaining amount to be received. This table does not have cost per commodity, because dlookup doesn't work in the actual table.

    I need to multiply the remaining amount of a commodity by the cost of the commodity.

    I created a query to list the commodity, work order number, remaining quantity, and cost per commodity.

    How can I get a query/report that will show how much is remaining per line of the PO?

    End result that I need is a report that will show, per work order, the total amount of outstanding commodities. This is used for cost projection for the work order.

    Any ideas?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Dont use dlookup in a query.

    To calculate in a query, just put the fields and the operator: TotalDue:[Cost] * [Qty]
    AmtRemain: [
    Inventory]-[Qty]


  3. #3
    julessantana is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    7
    I don't want to use a dlookup in a query. I just want to multiply one field in the query by another field in the query. Sorry, I must not have explained that very well.

    Thank you! I figured it out. The expression is just typed into the "field"

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

Similar Threads

  1. Replies: 2
    Last Post: 12-30-2014, 01:32 PM
  2. Replies: 1
    Last Post: 08-25-2014, 01:23 PM
  3. Calculated Field in Query
    By roarcrm in forum Queries
    Replies: 1
    Last Post: 06-06-2014, 09:24 AM
  4. Replies: 4
    Last Post: 03-20-2014, 03:52 PM
  5. Replies: 3
    Last Post: 02-13-2013, 10:15 AM

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