Language for Tags

Z

Zanne

I'm a novice at database design, and need a little help with some VB language.


I have a report with
checkboxes that I'd like to hide (47) HideBox
checkbox labels that I'd like to show only if checked (47) HideLabel
combo boxes I'd like to hide if the value is null (26) HideCondition

I think I should be able to group these categories and write a script rather
as a group, using tags rather than having to write individual lines, right?

Anyone know the language I need to accomplish this?

Thanks!
 
M

Marshall Barton

Zanne said:
I'm a novice at database design, and need a little help with some VB language.


I have a report with
checkboxes that I'd like to hide (47) HideBox
checkbox labels that I'd like to show only if checked (47) HideLabel
combo boxes I'd like to hide if the value is null (26) HideCondition

I think I should be able to group these categories and write a script rather
as a group, using tags rather than having to write individual lines, right?


I have no idea what you mean bu HideBox and HideLable.

You can make the unchecked check boxes visible or not
depebding on the cehck box's value.

For Each ctl in Me.Controls
If ctl.Tag = "HIDE" Then ctl.Visible = ctl.Value
Next ctl
 
Top