我想隐藏或显示基于用户选择的可变数据的列.如何在MS-Access 2003中将列设置为隐藏?
例如,
用户更改活动后......
For Each ctl In Me.FormNameHere.Form.Controls
If (TypeName(ctl) = "Textbox") Then
If InStr(GetTextList(), ctl.Name) > 0 Then
ctl.hidden = True
Else
ctl.hidden = False
End If
End If
Next ctl
Run Code Online (Sandbox Code Playgroud)