Hi,
I am struggling with the following and kindly ask for advise.
I have a navigation form with a tabcontrol holding three different subforms. In the main form there is a command button to print a report. OnLoad of the form its visibility is set to false. However when i click on one specific tab holding a specific subform i would like it to be visible. I have tried this without success:
Private Sub Form_Current()
If Forms!frmStart.NavigationSubform.Form.frmPartner.Form.Name =
"fsubPartnerHorse" Then
me.cmdPrint.visible=true
End If
End Sub
Any advise?
thank you
Andy
I am struggling with the following and kindly ask for advise.
I have a navigation form with a tabcontrol holding three different subforms. In the main form there is a command button to print a report. OnLoad of the form its visibility is set to false. However when i click on one specific tab holding a specific subform i would like it to be visible. I have tried this without success:
Private Sub Form_Current()
If Forms!frmStart.NavigationSubform.Form.frmPartner.Form.Name =
"fsubPartnerHorse" Then
me.cmdPrint.visible=true
End If
End Sub
Any advise?
thank you
Andy