Results 1 to 2 of 2
  1. #1
    k0330853 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    1

    Populating list box from search query

    Hi



    ive made a form in access which runs a search on drug names, prices and suppliers displayed in a list box
    Is there a way i can place a command button which will allow me to add a search result into a seperate listbox
    Im guessing it required paired listboxes

    Ive attached wat ive done so far

    any help will be much appreciated

    thanks
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Review this tutorial http://datapigtechnologies.com/flash...combobox2.html
    The example is with comboboxes but principle applies to listboxes as long as the first listbox is not a multi-select.

    Or use the selection in first listbox to filter form.
    Review http://datapigtechnologies.com/flash...tomfilter.html
    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. Search List Box with Text Box
    By dalton in forum Access
    Replies: 6
    Last Post: 01-30-2013, 09:58 AM
  2. Replies: 3
    Last Post: 10-25-2012, 09:37 PM
  3. Search From List and Key Search
    By netchie in forum Forms
    Replies: 14
    Last Post: 02-23-2012, 01:37 PM
  4. List populating based on criteria
    By Stedman in forum Forms
    Replies: 3
    Last Post: 08-06-2011, 12:46 PM
  5. Populating list box with column heading?
    By kawi6rr in forum Programming
    Replies: 1
    Last Post: 08-13-2010, 12:51 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