Results 1 to 3 of 3
  1. #1
    Jackfam58 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Posts
    7

    Reports from multiple queries that are not linked??

    I have a feeling the answer is no but can you create a report from multiple queries that are not linked by a common field As an example
    query1: employee_name,employee_id


    query2: firm_id,firm_name

    The idea is to select multiple employee_id and multiple firm_names or id in a listbox and then create a report with just the values selected.

    I am taking this over for a friend. I have a feeling he will need to find a way to link those tables but thought I would ask if there is anything program wise (ie macro or vba) to link tables to produce a report even though they apparently have no relations

  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,521
    How about a report with a subreport, or two subreports in an unbound report?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    Assuming I'm reading this correctly what you're looking for is a Query that lists elements of Table A According to a selection in Listbox A and elements of Table B According to Selections in Listbox B. If that is the case then essentially this is what you want. However, You will have to research to get the syntax right.

    Select A.element1,a.element2,b.element1,b.element2 from TableA as A, TableB as B Where A.element1 In (listboxA.selecteditems) and B.element1 in (ListBoxB.selecteditems)

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

Similar Threads

  1. Replies: 5
    Last Post: 02-02-2012, 06:42 PM
  2. Multiple Queries and Reports
    By Chad E in forum Access
    Replies: 4
    Last Post: 10-18-2011, 01:47 PM
  3. Print linked pdfs with their associated reports
    By HoopaWildlife in forum Access
    Replies: 1
    Last Post: 09-08-2011, 06:40 PM
  4. Queries, Forms, Reports..
    By groundhog in forum Access
    Replies: 3
    Last Post: 07-07-2010, 12:30 PM
  5. Replies: 1
    Last Post: 07-02-2010, 03:55 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