Page 1 of 1

Can i use regular expressions in reports?

Posted: Mon May 17, 2010 3:24 am
by purs
I need to display same column twice in the report, but the first time just until some symbol in the string data, and second time-after that symbol. How can i do that? I thought about using some sort of expressions, but didn't find the place in the designer, where to apply them.

ps i use Stimulsoft Reports.Net 2008.2

Can i use regular expressions in reports?

Posted: Mon May 17, 2010 9:34 am
by Jan
Hello,

Try to use GetValueEvent of textbox. You can current text value with help of following code:

Code: Select all

string str = e.Value;
After modifications you need assign changed string to e.Value:

Code: Select all

e.Value = str;
Thank you.