I have a form (formA) with a tab-control on it with 6 tabs.
frmB is on the tab-control under each tab.
When a tab is clicked, I want to change the frmB's recordsource to display relevant info. for that tab.
So, formA has myTabControl, the tab control has 6 tabs, each tab has a differently named sub-form container
each holding formB.
How do I refer to the recordsource property of frmB and set it to a specific query, dependant on which tab
is clicked?
I currently have 6 identical forms instead of one single frmB, which is a nightmare when it comes to adding
additional functionality.
Any help appreciated.
ATB
Darrylles
Never argue with an idiot, he'll bring you down to his level - then beat you with experience. darrylles@yahoo.co.uk
frmB is on the tab-control under each tab.
When a tab is clicked, I want to change the frmB's recordsource to display relevant info. for that tab.
So, formA has myTabControl, the tab control has 6 tabs, each tab has a differently named sub-form container
each holding formB.
How do I refer to the recordsource property of frmB and set it to a specific query, dependant on which tab
is clicked?
I currently have 6 identical forms instead of one single frmB, which is a nightmare when it comes to adding
additional functionality.
Any help appreciated.
ATB
Darrylles
Never argue with an idiot, he'll bring you down to his level - then beat you with experience. darrylles@yahoo.co.uk