Hi.
I need to do the following: On the report if the date of birth is 01.01.1900 in the Text component (the date of birth is taken from the database), then I need to change the text of that Text component instead of 01.01.1900 to be an empty string. How can I do taht and is it possible?
I tried to write something in the GetValue event of the Text component, but it doesn't work. I wrote something like this:
if (Text10.Text == "01.01.1900")
Text10.Text = ""
Any help would be great.
Thanks!
Ivan
Change the text of Text object
Change the text of Text object
Please use following code in GetValue event:
Thank you.
Code: Select all
if (e.Value == "01.01.1900")e.Value = "";
Thank you.
Change the text of Text object
Thanks very much for Your help! It works great!