Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Apr 2002
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Update List box from Combo Box (A2K)

    How do I populate a list box from a table based on the selection in a combo box.

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Update List box from Combo Box (A2K)

    >>How do I populate a list box from a table based on the selection in a combo box. <<

    You are probably going to have to be a little more specific than that. In general, though, you can have a SELECT statement as the rowsource for you listbox that uses the value of the combox as part of the WHERE clause, as in:
    SELECT * FROM myTable WHERE myID=mycombobox
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •