If DLookup("列标签", "表名", "用户名='" & CurrentName & "'") = False Then
Visible = False
Else
Visible = True
End If作者: xianbin555 时间: 2007-11-10 20:40
将1—10控件的TAG(标记)设置为key (或任意)输入:
for each control in me.controls
if control.tag="key" then
If DLookup(control.name, "表名", "用户名='" & CurrentName & "'") = False Then
Visible = False
Else
Visible = True
End If
end if
next作者: cycad 时间: 2007-11-10 22:12
谢谢xianbin555