
Originally Posted by
Rainlover
Change
If Me.Percentage > 0 then
To If Len(Me.Percentage) Then
If there is any value then this will return True. If Blank (ZLS) or Null it will return False.
Thank you, Rainlover. 
I wrote this code:
Code:
If Len(Me.Porcentaje) Then
Me.SimboloPorcentaje.Visible = True
Else
Me.SimboloPorcentaje.Visible = False
End If
If Len(Me.Gramos) Then
Me.UdsPQ.Visible = True
Else
Me.UdsPQ.Visible = False
End If
It says
Error 2427.
You specified an expression without value.

Originally Posted by
SFC
Create two labels one for each, put one one top of another in your report.
Try using a macro, click on the page header, then in the properties sheet select the Event tab, then on the "On print" use the pulldown and select macro builder.
In the marco page, use the pulldown and choose "If" to create an if statement. Next, start typing the name of the textbox that will dictate what label to show, as you type access will show you a list of your available textboxes and labels. After you set the criteria for the textbox (see my attachment) you use the pulldown menu and choose "Set Property". Then in control name type the label you want to hide, in the property box start to type visible, (access completes the spelling), and finally in the value box, type False. this will hide the label when the condition for the textbox is met.
Hi, SFC.
Sorry if I didn't understand you very well (i'm spanish). I got lost when you told me to choose "if" from a pulldown... I don't find it... and I cannot find as well your attachment.
Can you just put the code?
thx
Maybe I could used some kind of conditional format turning the text into white. Anyway... I never used that functions before and I will be grateful if I get some more help :-/