I am a true beginner. On open I want the report (rptIssuePrepImpl) to not display PhyName control when PhyName = "_O.R. Materiels Mgr. (Stock)"
This is where I am and I get syntax error. My deadline is approaching fast.
Private Sub Report_Open(Cancel As Integer)
If [Me.PhyName] = "_O.R. Materiels Mgr. (Stock)" Then
[Me.PhyName.Visible] = False
ElseIf [Me.PhyName] <> "_O.R. Materiels Mgr. (Stock)" Then
[Me.PhyName.Visible] = True
End If
End Sub
This is where I am and I get syntax error. My deadline is approaching fast.
Private Sub Report_Open(Cancel As Integer)
If [Me.PhyName] = "_O.R. Materiels Mgr. (Stock)" Then
[Me.PhyName.Visible] = False
ElseIf [Me.PhyName] <> "_O.R. Materiels Mgr. (Stock)" Then
[Me.PhyName.Visible] = True
End If
End Sub