Blogs

The One With

Reports and Calculated Fields - (What's new in v8.2)

     

There is a number of new features added to the XtraReports suite for v8.2. A couple of them are very exciting. One is calculated fields. Yeah baby :)

To add a calculated field, simply right click on your report data source in the designer and select Add Calculated Field.

Once the field has been added you can use the expression editor to specify your formula. Right click on the newly created field and choose Edit Expression.

Expressions support a number of functions and operators (plus, minus etc... even in, like and between). When a calculated field has been set up, you can use it as an ordinary data field anywhere across your reports.

Its values can be simply displayed in report controls, or can take part in data grouping, sorting or filtering.

 

Cheers

Azret

P.S:  Who can spot another big new feature ?

Published Jul 02 2008, 12:30 PM by Azret Botash (DevExpress)
Filed under: ,
Technorati tags: XtraReports, v2008.2
Bookmark and Share

Comments

 

Shankar said:

Great! Does it allow any form of scripting

July 2, 2008 4:30 PM
 

Julio said:

New feature you can add text to a bound text like in the sample Order Details: [OrderId].

I also see parameters on the field list.  I don't remember seen that before.

July 2, 2008 4:46 PM
 

Tarik Souirji said:

"P.S:  Who can spot another big new feature?"

I can think of something that would be very² useful but not really a BIG new feature though: to make our life easier and the job done faster when we create table based reports (versus label based), it would be convenient to have a dialog asking the number of rows, columns, the table width, the row height and border properties we want when we drop a table control on the report. A bit like what dreamweaver does when you insert a table ... right now if you want a 12 rows by  8 columns table you need to spend a lot time inserting new rows and columns, for example.

This has already been suggested twice (at least), see suggestions A631 and S90584.  The first one mentions that it has been accepted but the release date had to be discussed ... and that was back in 2005  :p

Anyway, this feature would be handy and very welcome.

Thanks for reading this.

P.S.: the Calculated Fields feature rocks !

July 2, 2008 5:27 PM
 

Neal said:

Jeopardy:  What is an "Expression Builder?"

July 2, 2008 8:42 PM
 

Chan Kok Kiet said:

Finally! Thank you for that.

July 2, 2008 10:33 PM
 

Primadi said:

Can we add user defined function in the function list ? that is great feature i think..

July 3, 2008 6:49 AM
 

Christopher D. Todd said:

Great! It would also be nice if you can access user defined functions (from within the report) where more complex computations/logic can be performed.

Chris.

July 6, 2008 5:25 PM
 

XtraReports and Parameters - (What's new in v8.2) - The One With said:

Pingback from  XtraReports and Parameters - (What's new in v8.2) - The One With

July 11, 2008 2:33 PM
 

A539958 said:

Is planned to add any way of accessing custom functions ?

I wanna write some c# code and access it from designer

August 13, 2008 8:39 AM
 

The ASPx Blog said:

The 2nd major DXperience release of 2008 is just around the corner. This three (major) releases per year

August 22, 2008 6:10 PM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.