Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28

    deleted as wrong post
    Last edited by DaveyJ; 06-25-2010 at 01:01 PM. Reason: deleted as wrong post

  2. #17
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28
    thanks for your help..

    i will re-design the databse using your guidlines.

    one last question

    how would i restrict the combo box to only show items from the category lists?

  3. #18
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    I would probably use a couple combo boxes on the form, one for the request type and the other for the item selection. Having two combo boxes in this fashion where one is used to restrict items in another is called cascading combo boxes and is a pretty common topic. Roger Carlson has a demo on his site; here is the link

  4. #19
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28
    thanks so much for your time and efforts,

    working all better now,

    still looking into cascading combo boxes

  5. #20
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You're welcome and don't hesitate to ask if you have questions with the cascading combo boxes.

  6. #21
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28
    thanks,

    I been trying to achive the cascading combo boxes, with the structure you have suggested

    What is the best way to do this if it was part of the request table as a subform with the employee table?

  7. #22
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    As it turns out, the link I provided you used unbound combo boxes. In your case, you need 2 bound combo boxes which can be a little trickier. So, I have attached an example. What I basically did was to set the row source of the second combo in the after update event of the first combo box by using some simple code.

  8. #23
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28
    Thanks Mate, your a legend....


    with your help, i was able to look at the code and use it in my database.

  9. #24
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Glad it worked out for you. Good luck on your project.

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

Similar Threads

  1. Propagate check boxes through joins
    By Christopher in forum Programming
    Replies: 3
    Last Post: 05-20-2010, 05:04 PM
  2. Joins - One PK to many FK - Acceptable?
    By Dega in forum Database Design
    Replies: 7
    Last Post: 05-08-2010, 07:52 AM
  3. Complex Joins??
    By objNoob in forum Queries
    Replies: 0
    Last Post: 03-16-2010, 02:42 PM
  4. Nested Joins
    By zephaneas in forum Programming
    Replies: 0
    Last Post: 11-10-2008, 11:49 AM
  5. Examples of left joins?
    By narayanis in forum Queries
    Replies: 0
    Last Post: 06-14-2008, 06: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