J
JIM
I'm getting a type mismatch 13 on this first if line and have tried several
things but can't see what is missing. The test is to see if first column of
combo box equals Name1 or Name2 then made controls not visible. CustomerName
is a text string.
If Left(Me.cboCustomerName.Column(0), 5) = "Name1" Or "Name2" Then
frmWorkOrders.sfrmClientBuildings.frmClientBuildings.txtRoofPlanLoc.Visible =
False
frmWorkOrders.sfrmClientBuildings.frmClientBuildings.Option60.Visible =
False
frmWorkOrders.sfrmClientBuildings.frmClientBuildings.RoofPlanLoc_Label.Visible = False
frmWorkOrders.sfrmClientBuildings.frmClientBuildings.Label64.Visible =
False
else if ....
Does anyone have an answer?
Thanks
things but can't see what is missing. The test is to see if first column of
combo box equals Name1 or Name2 then made controls not visible. CustomerName
is a text string.
If Left(Me.cboCustomerName.Column(0), 5) = "Name1" Or "Name2" Then
frmWorkOrders.sfrmClientBuildings.frmClientBuildings.txtRoofPlanLoc.Visible =
False
frmWorkOrders.sfrmClientBuildings.frmClientBuildings.Option60.Visible =
False
frmWorkOrders.sfrmClientBuildings.frmClientBuildings.RoofPlanLoc_Label.Visible = False
frmWorkOrders.sfrmClientBuildings.frmClientBuildings.Label64.Visible =
False
else if ....
Does anyone have an answer?
Thanks