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

    Choosing Multiples in a form

    I have two queries, qry_products and qry_orders. In a form I have products.proddescript in a listbox. I also have orders.orderdescript in a listbox. I chose multi-select = simple to highlight multiples in both listboxes. Now I want to use cmdShow and pull up the highlighted information in an access report called rptShow.



    1. Will I have to address the multi-select on the query side through parameters?
    2. Is there a simple macro or module that can allow me to accomplish this multi-select and view results in an access report (preferred since I can attach it to the cmdShow btn

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    I have two queries, qry_products and qry_orders. In a form I have products.proddescript in a listbox. I also have orders.orderdescript in a listbox. I chose multi-select = simple to highlight multiples in both listboxes. Now I want to use cmdShow and pull up the highlighted information in an access report called rptShow.
    So the two list boxes are based on the two queries you mention. Do you have primary key values associated with each item in the 2 list boxes as well?

    Since both list boxes are multi-select, I assume that means that each order will have the same selected products and similarly each product will be related to each order, correct?

    A report can only be based on a table or query, so you will have to store the selections made in the two list boxes in a table and you would base your report on that table or a query that includes that table.

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

Similar Threads

  1. Replies: 2
    Last Post: 01-17-2012, 10:15 AM
  2. Choosing Report
    By ShadeRF in forum Reports
    Replies: 12
    Last Post: 11-18-2011, 11:31 AM
  3. DCount for Multiples
    By Huddle in forum Access
    Replies: 2
    Last Post: 12-21-2010, 08:57 AM
  4. help in choosing from list
    By Nokia N93 in forum Programming
    Replies: 4
    Last Post: 11-30-2010, 07:29 AM
  5. Replies: 1
    Last Post: 11-26-2010, 05:22 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