Hi -
I have a form with 3 tab controls. Within each tab there is an unbound listbox that lists tables. I want each list box within the tabs to select only specific tables relevant to the tab heading, but can't figure out the correct code. I'm able to select the tables using "tbl.Name Like..." in the Form Onload event procedure, but that changes all the list boxes. I tried with the OnClick procedure for the specific tab, but that's not working.
Any suggestions? I've tried varies searches on the forum with no luck.
I'm not experienced with writing code and seem to have gotten in over my head.
Thanks.
I have a form with 3 tab controls. Within each tab there is an unbound listbox that lists tables. I want each list box within the tabs to select only specific tables relevant to the tab heading, but can't figure out the correct code. I'm able to select the tables using "tbl.Name Like..." in the Form Onload event procedure, but that changes all the list boxes. I tried with the OnClick procedure for the specific tab, but that's not working.
Any suggestions? I've tried varies searches on the forum with no luck.
I'm not experienced with writing code and seem to have gotten in over my head.
Thanks.