T
Tru
I am trying to make a Label Control Visible based on the value of a Textbox
in my Report's Open Procedure:
If txtSubTotals.Text = "No Data" Then
lblMessage.Visible = True
Else
lblMessage.Visisble = False
End if
The problem is I am receiving this error message:
"2185" You can't reference a property or method
for a control unless the control has focus.
I am a little confused because I am using a Label Control on my Report.
Could you please provide with the proper code to accomplish this task. I
tried looking for this error in the Knowledgebase (No Luck).
in my Report's Open Procedure:
If txtSubTotals.Text = "No Data" Then
lblMessage.Visible = True
Else
lblMessage.Visisble = False
End if
The problem is I am receiving this error message:
"2185" You can't reference a property or method
for a control unless the control has focus.
I am a little confused because I am using a Label Control on my Report.
Could you please provide with the proper code to accomplish this task. I
tried looking for this error in the Knowledgebase (No Luck).