• filtering combo boxes (access 2k)

    Author
    Topic
    #374687

    I have a form that has two combo boxes. One has states and the other has cities. Is there a way that once I select a state the cities combo box get filtered for only those cities in that state?

    Viewing 0 reply threads
    Author
    Replies
    • #606894

      In the query behind the Cities combobox add a column for the State with a criteria that the State would equal the value of the States combobox. So the criteria would look something like this for the State field: Forms!frmCityStateSelect!cboState. Then in the after_update event for the State combobox you would requery the City combobox: Me!cboCity.Requery

    Viewing 0 reply threads
    Reply To: filtering combo boxes (access 2k)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: