Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dependent Listboxes

Status
Not open for further replies.

Mr2006

Technical User
Jun 21, 2006
80
0
0
US
I have one listbox dependent on other. I want to be able when I click on the the row in the first list box, it shows the records related to this row in the second listbox. Right now, it will not do it unless I click on the second listbox. Note: the listboxes used to be combboxes depoendents. The VBA code I have is on got focus event.

Any suggestions?

Thanks
Mr.2006
 
Use the AfterUpdate event of the first list box to change the Rowsource of the second listbox.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top