Results 1 to 3 of 3
  1. #1
    matey56 is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jul 2020
    Posts
    188

    Constraining combo boxes

    Hello,
    I have 2 unbound combo boxes to select records. The first box is ID Number and the second box is Material. Once options are selected from both fields a record is displayed. The Material field has ten options. The ID Number field can be unlimited. Not every ID number in the table will have every Material type. What I would like is when the user selects an ID Number, the Material field then only displays options that are actually in the table. Not the entire list of 10. Does that make sense?

    How do I do this?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    A S MANN is offline Advanced System Analyst
    Windows XP Access 2007
    Join Date
    Oct 2010
    Location
    India
    Posts
    164
    Prepare a query and filter it by Forms![FormName]![ID Number]
    Use this query as record source of Material field of form. Select after update as Requery
    so when a ID is selected the query data get modified , refreshed and lookup in Material changes.

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

Similar Threads

  1. Replies: 2
    Last Post: 06-01-2021, 09:50 AM
  2. Replies: 5
    Last Post: 04-22-2021, 09:00 AM
  3. Changing text boxes to combo boxes
    By Lou_Reed in forum Access
    Replies: 8
    Last Post: 09-15-2015, 11:09 AM
  4. Replies: 11
    Last Post: 08-06-2014, 09:47 AM
  5. Replies: 9
    Last Post: 06-04-2014, 10:45 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