E
edisonl via AccessMonster.com
Hi Karen,
Saw your posts, I face some situation.
1. I Had A form with More Than 10 subforms, I put this into 2 tab (Avg 1 tab
holds 5~8 Subform).
2. Which subforms to displays depends on Main Form ComboBox> Generate Form2>
Subform Display Base on Choice.
3. This is preset in the form>
* * * * * * * * * *
TabControl1.Visible = True
Page1.Visible = True
Subform/ SubReport1.Source Object =Subform1
Subform.Recordsource = Query1
* * * * * * * * * *
4. Programmatically in VBA Form_OnLoad():
if(MainForm_ComboBox.value = "Subform1Name")then
Tab1.visible =true
Subform1.visible =true
elseif (MainForm_ComboBox.value = "Subform2Name")then
Saw your posts, I face some situation.
1. I Had A form with More Than 10 subforms, I put this into 2 tab (Avg 1 tab
holds 5~8 Subform).
2. Which subforms to displays depends on Main Form ComboBox> Generate Form2>
Subform Display Base on Choice.
3. This is preset in the form>
* * * * * * * * * *
TabControl1.Visible = True
Page1.Visible = True
Subform/ SubReport1.Source Object =Subform1
Subform.Recordsource = Query1
* * * * * * * * * *
4. Programmatically in VBA Form_OnLoad():
if(MainForm_ComboBox.value = "Subform1Name")then
Tab1.visible =true
Subform1.visible =true
elseif (MainForm_ComboBox.value = "Subform2Name")then