Results 1 to 7 of 7
  1. #1
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28

    LookUP Help

    Hi Guys,




    Having a problem with a look up table.

    what i want to achieve is this...

    a category table, with 3 categorys ,
    each category has a list of products

    what i want to do is when a category is selected, only the products of that particular category are visible to select.

    Can anyone point me in the best way to achieve this?

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    This is a small example that I think may help you out.
    I have a product table which has some products
    Then I have a table Machine that processess these products.
    Each product can be processed in specific machines.

    Select a probuct and you will see the machines applicable to taht product is displayed in the list box.

    I have used another Table to link the product and the machine caled product_machine_link


    check it

  3. #3
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28
    that helps alot, but how was it achieved?

  4. #4
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    Study the relationships. and the queries underlying the combobox and the list box. The third table basicall links the products and the Machine together. The List Box Rowsource is the Third Table product_machine_link. The Product_Machine_Link has Fields Product_id, Machine_id and entry_id. The criteria for product_id in the RowSource query of the list Box is [Forms]![Form9]![Combo0].

  5. #5
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28
    i tried to look at the relationships , but they were not visible ?

    where they locked or something?

  6. #6
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    press F11 that will allow you to look into the structure

  7. #7
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    main menubar - tools - relationships

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

Similar Threads

  1. Dlookup Lookup Value
    By WhatnThe in forum Access
    Replies: 14
    Last Post: 12-30-2009, 11:45 PM
  2. Many To Many lookup
    By todavy in forum Forms
    Replies: 0
    Last Post: 12-15-2009, 09:27 AM
  3. Complex Lookup?
    By murphyB in forum Database Design
    Replies: 1
    Last Post: 09-17-2009, 12:43 PM
  4. Lookup Values
    By gjw1012 in forum Access
    Replies: 5
    Last Post: 07-22-2009, 08:56 AM
  5. Lookup
    By neon'00 in forum Forms
    Replies: 2
    Last Post: 04-14-2007, 01:19 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