Page 1 of 1
Formula Fields values
Posted: Tue Apr 06, 2010 4:12 pm
by MasterCephus
I am in the process of moving all of my crystal reports over to Stimulsoft and I having some difficulty in creating the formulas.
For one, I only have one line textbox to do my work in instead of a nice multiline text box. That makes it very difficult to see what I am doing. Secondly, do I write these formulas using either C# or VB (my choosing)?
is there something I am missing?
Formula Fields values
Posted: Wed Apr 07, 2010 12:59 am
by Jan
Hello,
For one, I only have one line textbox to do my work in instead of a nice multiline text box. That makes it very difficult to see what I am doing.
Sorry don't udnerstand this problem. You can create multiline expressions without any problems. You can press Enter in expression editor. Also you can set Word Wrap function from context menu if you need wrap long expression line.
Secondly, do I write these formulas using either C# or VB (my choosing)?
You need use C# language by default. If you want use VB.Net you can select it in report parameters window.
Thank you.
Formula Fields values
Posted: Thu Apr 08, 2010 8:37 am
by MasterCephus
Sorry don't udnerstand this problem. You can create multiline expressions without any problems. You can press Enter in expression editor. Also you can set Word Wrap function from context menu if you need wrap long expression line.
My point is that the editor is only one line. I may be trying to do work in the wrong area so if I am please direct me to the right place. Crystal report had a "Formula Workshop" where you could have a full multiline, color-coded editor to write your functions out. The only place I have found to write formulas in Stimulsoft going to the Dictionary, finding the Formula Fields variable and clicking edit and using the one line Default Value text box.
Can you direct me to the expression editor?
Formula Fields values
Posted: Sat Apr 10, 2010 1:08 pm
by MasterCephus
any update on this?
Formula Fields values
Posted: Sat Apr 10, 2010 2:37 pm
by Jan
Hello,
You can specify formula directly in text expression. Please check image Sample.png. Also you can specify formula in variable. Please check image Sample2.png.
Thank you.
Formula Fields values
Posted: Mon Apr 12, 2010 8:39 am
by MasterCephus
Thanks for this. So I can find the text editor by clicking on a field I have created in my report. But I can only really just choose the variable from the Variables tree on the right. Once I choose the variable I want, I can't edit it.
So I tried option two by using the Dictionary to find my variable, then I clicked edit to get your second image so I can open the text editor there. However, my screen does not allow me to open the text editor (screen shot attached). What am I doing wrong?
Formula Fields values
Posted: Wed Apr 14, 2010 12:41 am
by Anton Lozovskiy
Hello,
The problem is fixed. The patch is available in prerelease build of on 12.04.2010.
Thank you.