L
LeLe
I am trying to get the following code to work,,, and it won't
The control headtop is bound to a numeric field with a single field size.
If the value is zero I want certain controls to appear on the form, and if
the value is greater than zero (>.01) I want a different set of controls to
appear.
Can anyone see what I am missing? I am using similar code in other parts of
the report and it works fine. I suspect something is wrong with the way I
have written the criteria, and it is not finding any records that match it.
Thanks so much!!
If Me.headtop > 0.01 Then
Me.headtop.Visible = True
Me.HeadTfig.Visible = True
Me.HeadTpic.Visible = True
Me.RetLtPrFig.Visible = False
Me.OverRtPrFig.Visible = False
Me.Return.Visible = False
Me.WidthFlatLab.Visible = True
Else
Me!headtop.Visible = False
Me.HeadTfig.Visible = False
Me.HeadTpic.Visible = False
Me.RetLtPrFig.Visible = True
Me.OverRtPrFig.Visible = True
Me.Return.Visible = True
Me.WidthFlatLab.Visible = False
The control headtop is bound to a numeric field with a single field size.
If the value is zero I want certain controls to appear on the form, and if
the value is greater than zero (>.01) I want a different set of controls to
appear.
Can anyone see what I am missing? I am using similar code in other parts of
the report and it works fine. I suspect something is wrong with the way I
have written the criteria, and it is not finding any records that match it.
Thanks so much!!
If Me.headtop > 0.01 Then
Me.headtop.Visible = True
Me.HeadTfig.Visible = True
Me.HeadTpic.Visible = True
Me.RetLtPrFig.Visible = False
Me.OverRtPrFig.Visible = False
Me.Return.Visible = False
Me.WidthFlatLab.Visible = True
Else
Me!headtop.Visible = False
Me.HeadTfig.Visible = False
Me.HeadTpic.Visible = False
Me.RetLtPrFig.Visible = True
Me.OverRtPrFig.Visible = True
Me.Return.Visible = True
Me.WidthFlatLab.Visible = False