GUIDO22
Registered User.
- Local time
- Today, 15:54
- Joined
- Nov 2, 2003
- Messages
- 515
I need to call a function in the Conditional Formatting property of a text field used on my report.
For example: CheckNames(Reports!Reporting_EmployeeOutput![txtSurname], "Smith")
Where txtSurname is the text field control on the report. However, this does not work -
(Am I even able to put a reference to the control itself in this property - ?)
I have used 'Expression Is' as the condition type.
(Basically, I am trying to format the control text forecolor in accordance with the text box content. If my search name is Smith - this condition needs to check the name in the field with Smith - if they dont match - I set the backcolor to match the forecolor - thereby making the non-matched name invisible)
Is this possible.
NB. I have had no responses from my prev. LINK - I am hoping this maybe the solution I am looking for.
For example: CheckNames(Reports!Reporting_EmployeeOutput![txtSurname], "Smith")
Where txtSurname is the text field control on the report. However, this does not work -
(Am I even able to put a reference to the control itself in this property - ?)
I have used 'Expression Is' as the condition type.
(Basically, I am trying to format the control text forecolor in accordance with the text box content. If my search name is Smith - this condition needs to check the name in the field with Smith - if they dont match - I set the backcolor to match the forecolor - thereby making the non-matched name invisible)
Is this possible.
NB. I have had no responses from my prev. LINK - I am hoping this maybe the solution I am looking for.