Results 1 to 2 of 2
  1. #1
    allenjasonbrown@gmail.com is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jun 2010
    Posts
    44

    use a different query/table in row source

    Hi.
    I have a combo box and would like to use a different query for the row source based on a previous combo box.
    Example:



    [Combo Box 1]: = Ten

    ROW SOURCE: [Combo Box 2]:
    If [Combo Box 1] = Six then select distinct(names) from fullname.
    If [Combo Box 1] = Ten then select distinct(names) from Total.
    If [Combo Box 1] = Eight then select distinct(names) from Apples.

    Is this possible? Thanks.

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    You should be able to adapt the row source method here:

    Baldy-Cascading Combos
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. linked table displaying different data than source
    By wil in forum Import/Export Data
    Replies: 1
    Last Post: 08-06-2010, 07:13 AM
  2. Replies: 2
    Last Post: 10-27-2009, 07:09 AM
  3. ComboBox Row Source Value
    By mpbertha in forum Forms
    Replies: 1
    Last Post: 08-21-2009, 06:34 AM
  4. Forms' Record Source
    By Progress2007 in forum Programming
    Replies: 11
    Last Post: 07-27-2009, 11:04 AM
  5. Changing the record source in a form
    By lmichaud in forum Forms
    Replies: 1
    Last Post: 07-09-2006, 09:20 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