Visible Control Help

B

Bob

I have made a Combo Box (ComboHelp) on my form that shows a Query (qryHelp)
from a table (tblStableSettings) field (Help Yes/No)
I have a Control (cmbHelp1ComName) that I am tring to make Visible/NoVisible
with this code below am I any where near it
Thanks for any help.....Bob

Private Sub Form_Open(Cancel As Integer)


If ComboHelp = True Then
cmbHelp1ComName.Visible = True
If ComboHelp = False Then
cmbHelp1ComName.Visible = False
End If
End If

End Sub
 
S

strive4peace

Hi Bob,

Is ComboHelp a bound control? If not, the values will be text


Warm Regards,
Crystal
*
:) have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 
Top