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

venu08

Recommended Posts

 Hi 

How can divison the field values in detail band ,after division complete we add the field value .

Example 

I am writing in this way it is correct

$F{fieldvalue1}/100  (DetailBand)

          finaly how can caliclate the Fieldvalue1 Total (Summary band) I dont know.

Could you please solve my problem

 

Thanks

Gvr

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I am not 100% sure I understand what you are asking. But I am guessing that you want to divide a field value by 100 and have the result be placed in a textbox in the detailed band. Then have a total of that result placed in the summary band.

First create a new variable and inside the variable expression property place your code.

Then create a new textfield in your report and edit the exspression, placing your newly created variable.

Now create a 2nd new variable and in the exspression put the 1st variable you created.

Go into the propeties window for the 2nd new variable and under the Calculation drop down menu, Select Sum. Make sure the reset type is set to report.

Now go down into the summary band and create a new textfield and place your 2nd variable in the expression.

That should be it. Hope that helped.

 

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