Can i use regular expressions in reports?

Stimulsoft Reports.NET discussion
Post Reply
purs
Posts: 4
Joined: Thu Jul 23, 2009 2:32 am

Can i use regular expressions in reports?

Post 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
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Can i use regular expressions in reports?

Post 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.
Post Reply