/ Published in: Visual Basic

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Dim ctl As Control For Each ctl In Forms!frmAssets 'For Each ctl In Me.Parent If ctl.Tag = "**" Then ctl.Visible = False ElseIf ctl.Tag = "***" Then ctl.Visible = False ElseIf ctl.Tag = "*" Then ctl.Visible = True End If Next Set ctl = Nothing Dim ctl As Control For Each ctl In Me If ctl.Tag = "*" Then If IsNull(Me.PtLName) Then ctl.Enabled = False Else ctl.Enabled = True End If End If Next Set ctl = Nothing
Comments
