Results 1 to 2 of 2
  1. #1
    zrome is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2012
    Posts
    1

    Linking multiple tables and queries in form

    Hello,



    I am relatively new to Access so am a bit confused on how to do this. What I am trying to do is create a ListBox in Access where I can (multi select enabled) choose multiple names of people. Upon selecting the names of these people, I want Access to be able to go to few other queries and tables (specified by me and same every time) and obtain information from numerous columns for that 1 specific row (persons name). Finally, it should be displayed in a nice looking report format.

    What I have done so far:
    I have created a form with a combo box (4 actually as I need 4 sets of information). Upon choosing a value from the 1st combo box, the rest of the combo boxes are filled with the same value (persons name). Each combo box obtains information from a different table and outputs to a text box so these 4 combo boxes are outputting different numerical values (for the persons name) to the text boxes below. In Gist, this works for me. The problem is: I need to be able to do it for multiple names (list box selection) at the same time rather than doing it one at a time.

    Any advice? Thanks!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Reading the values in a multi-select listbox requires VBA code. This example http://allenbrowne.com/ser-50.html shows how to do that to build filter criteria for a report.

    I don't understand what you are trying to do with the comboboxes and especially don't understand how would work with multiple selected items.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Linking multiple tables
    By anemoskkk in forum Access
    Replies: 0
    Last Post: 04-15-2011, 06:31 PM
  2. Linking 2 Tables or Queries
    By vdanelia in forum Database Design
    Replies: 4
    Last Post: 03-01-2011, 03:07 PM
  3. Linking a student table to multiple tables
    By iteachyou in forum Access
    Replies: 3
    Last Post: 02-06-2011, 05:53 PM
  4. Linking tables / Queries
    By mulefeathers in forum Queries
    Replies: 7
    Last Post: 04-21-2010, 02:10 PM
  5. Linking built queries to new tables
    By prag in forum Queries
    Replies: 6
    Last Post: 10-09-2009, 01:07 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