R
RJF
I have a form called frm_ClientConv with 3 tab pages on it. (pg_01, pg_02,
pg_03)
There is an unbound control on the form called txt_FilePath.
I don’t want the txt_FilePath control to be visible when pg_03 is selected.
On the Current Event of frm_ClientConv I put the following code:
If [Screen].[ActiveControl].[Name] = "pg_03" Then
txt_FilePath.Visible = False
End If
When I open the form, I get the following error message:
“The expression you entered requires the control to be in the active window.â€
I’m fairly new to VB so I realize I could be totally off-base with the code.
Any suggestions would be so appreciated.
Thanks.
pg_03)
There is an unbound control on the form called txt_FilePath.
I don’t want the txt_FilePath control to be visible when pg_03 is selected.
On the Current Event of frm_ClientConv I put the following code:
If [Screen].[ActiveControl].[Name] = "pg_03" Then
txt_FilePath.Visible = False
End If
When I open the form, I get the following error message:
“The expression you entered requires the control to be in the active window.â€
I’m fairly new to VB so I realize I could be totally off-base with the code.
Any suggestions would be so appreciated.
Thanks.