Results 1 to 2 of 2
  1. #1
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383

    Lookup OnHand Quantity F/ Products Table

    I have a Products table. A Order Details table. A Order Details Extended Query. A subform named OrderDetailsSubform and Main form named OrderDetails.

    Ok, I am trying to get OnHand (field in Products Table ) from the Products table onto my OrderDetailsSubform so the user can see what is in stock before making the order.
    Every Query I have tried has not worked. Meaning, yes I can make a query that gets what I need but cant figure out how to add either a table or query to my existing ones and make it work without errors such as circular error.
    Hopefully with the pictures attached you can make sense of this.Point me in the right direction.

    1. Order Details is what the form OrderDetailsSubform is based on as showed on pic as Product Inventory Posting Sheet
    2. Main Menu as show is based on the Table Orders.


    3. I don't know (&*%%%) I am doing I guess!
    Attached Thumbnails Attached Thumbnails Main Menu.jpg   Order Details Extended Query.jpg   Order Details Table.jpg   Product Inventory Posting Sheet.jpg   Products Table.jpg  


  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Thanks, I got it. Had to rename a field,adjust code and all is well. Sorry for any of your time wasted.
    I had a UnitPrice that was in both tables and prevented me from what i wanted.

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

Similar Threads

  1. VBA to update Products Table from excel file
    By Mclaren in forum Programming
    Replies: 2
    Last Post: 07-26-2012, 12:14 AM
  2. Replies: 8
    Last Post: 04-24-2012, 01:05 PM
  3. Replies: 8
    Last Post: 03-22-2012, 08:48 AM
  4. Using lookup data for table 1 mutible times in table 2
    By mbjazz in forum Database Design
    Replies: 5
    Last Post: 04-26-2011, 01:18 AM
  5. products and quantity
    By woody in forum Forms
    Replies: 2
    Last Post: 02-06-2011, 11:58 PM

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