Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Raleyoz is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    17

    this is driving me nuts

    I am a NOOB



    im sure this is easy but i can not get it done and i need to move on

    i have a "product" that i sell which i have entered into a table called "Products"

    i would like to create a table to "order" that product, on that "Order" table i would like to lookup the product from the "products " table and retrieve several items from ther "product table , such as Product code, product price, Product qty per case.

    i can get it to show 1 item but the rest will not auto populate, AAAAAAAAAAAAAAAAAAAugh

    help

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by Raleyoz View Post
    ...i can get it to show 1 item but the rest will not...
    What is this thing that is showing the 1 item?

  3. #3
    Raleyoz is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    17
    Ok my product table has
    ProductID
    ProductCode
    ProductName
    ProductSupplier
    Age

    On the new order table, I would like to select a product to order and the relevant data from the product table auto populate the new order table or form

    Hope this makes sense
    Tony

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I think it makes sense. It sounds like you have one table and nothing else. Your question is, "What do I build next to create new records in another table?"

    I would create a form that opens in data entry mode and is bound to this second, new, table. I would use a combo that queries your first table to add the product ID in the second, new, table.

  5. #5
    Raleyoz is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    17
    Thx for your response
    I actually have both tables created already, and I know what I want them to show
    My order table has these fields
    Order number
    Product code- lookup from the product table
    Product name - auto populate once product code is selected
    Product cost- auto populate from product table one product code is selected
    Etc.

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    All I can do is guess what your question is. Putting your question aside, your second table does not have the correct structure. Store the Primary Key value from your Products table in the Foreign Key field of the Orders table.

    tblOrders
    OrderKey (Autonumber)
    CustomerKey(Long Integer)
    OrderDate(Date)
    etc

    This video may help to explain how to get your tables in order.
    https://www.youtube.com/watch?v=-fQ-bRllhXc

  7. #7
    Raleyoz is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    17
    My question is as it stands in the first paragraph, it appears you do not understand, but thanks for trying

  8. #8
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    I think we understand you are a 'NOOB'. You need to understand that you do what you want to do through a form, not a table

  9. #9
    Raleyoz is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    17
    Great that's how i tried to do it originally,l but yet I still cannot achieve this. I can bring down one piece of data but not 3 , or 4 pieces from the table

  10. #10
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    you've told us the content of your products table - what do you have in your orders table?

  11. #11
    Raleyoz is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    17
    I would like to fill out a form to complete an order
    Order ID
    enter SKUCodes from products table
    auto populate ProductName
    auto populate ProductPrice
    Enter Quantity to order
    calculate Price
    Add additional SKUCodes to order

  12. #12
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    I wish you would just answer the question - what do you have in your orders table at the moment?

    auto populate ProductPrice - where do you get this from? - it is not in your products table.
    calculate Price - if you are autopopulating, why do you need to calculate? and if you mean a line value (productprice*quantity) please be clear about names

    If you want concise answers, you'll need to provide concise information.

  13. #13
    Raleyoz is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    17
    Sorry i thought i was

    Orders Table
    WinePurchasesID
    SKUID
    SKUName
    SKUPrice
    CaseSize
    CaseQty
    ContainerNumber
    ValueOrder



    Quote Originally Posted by Ajax View Post
    I wish you would just answer the question - what do you have in your orders table at the moment?

    auto populate ProductPrice - where do you get this from? - it is not in your products table.
    calculate Price - if you are autopopulating, why do you need to calculate? and if you mean a line value (productprice*quantity) please be clear about names

    If you want concise answers, you'll need to provide concise information.

  14. #14
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    and the answer to my other question?

    auto populate ProductPrice - where do you get this from? - it is not in your products table.

  15. #15
    Raleyoz is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    17
    auto populate ProductPrice - where do you get this from? - it is not in your products table.
    yes it is in the products table

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. switchboard driving me nuts
    By bbxrider in forum Forms
    Replies: 4
    Last Post: 12-06-2014, 06:24 PM
  2. error 3075...making me nuts
    By graccess in forum Forms
    Replies: 24
    Last Post: 01-24-2014, 07:03 AM
  3. Can't create relationships (Driving me nuts!!)
    By zlloyd1 in forum Database Design
    Replies: 2
    Last Post: 08-12-2012, 08:49 PM
  4. SELECT Query, Driving Me Nuts!!
    By mystifier in forum Queries
    Replies: 4
    Last Post: 04-21-2011, 04:00 PM
  5. Access 2007 Form Changes Driving Me Nuts
    By Patrick.Grant01 in forum Forms
    Replies: 3
    Last Post: 05-19-2009, 09:17 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