Get the actual value of the text component
Posted: Tue Jul 30, 2024 9:05 am
I have assigned text component with value from datasource. When i try to get the value in before print event using Text1.text, i'm getting {DataSource1.param2} instead of the actual value.
Can I use the following expression to get the actual value of the text component?
{Text1.Text.Value} == "some string"
Text1.Text.Value I believe is always stored as a string so if you need to compare the value to an integer, the following expression should work.
int.Parse(Text1.Text.Value) == 2
Can I use the following expression to get the actual value of the text component?
{Text1.Text.Value} == "some string"
Text1.Text.Value I believe is always stored as a string so if you need to compare the value to an integer, the following expression should work.
int.Parse(Text1.Text.Value) == 2