Jump to content
We've recently updated our Privacy Statement, available here ×

Excel formula expression


fhdbgvhd

Recommended Posts

In iReport 3.0.0 version , how can one specify Report element property expression. I need to specify excel formula through property expression "net.sf.jasperreports.export.xls.formula"

I couldn't find the place, where in Ireport to specify the above expreesion. This is very urgent, Can somebody help me.

Link to comment
Share on other sites

  • 4 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

1. Open iReport 3.0

2. Open your JRXML file

3. Insert "Static Text" from tool bar

4. Right Click on Newly added Static Text

5. Select Custom Element Properties

6. Click On new button

7. Property Name :  net.sf.jasperreports.export.xls.formula

8. Property Value : write any valide Excel expression i.e.  sum(B1:B10) .

remember don't put = sign before formula

9. compile and export report in Excel

10. enjoy formula....

- By KP Bird

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...