Dim clist As WinForm.CheckedListBox = e.Form.Controls("CheckedListBox1")
msgbox(e.Form.Controls("ComboBox7)
For i As Integer = clist.Items.Count - 1 To 0 Step -1
msgbox("i=" & i & ",Checked=" & (not clist.GetItemChecked(i)))
Tables(e.Form.Controls("ComboBox7").Text).Cols(i).Visible = not clist.GetItemChecked(i)
Next