Link to home
Create AccountLog in
ASP.NET

ASP.NET

--

Questions

--

Followers

Top Experts

Avatar of ProgrammerAtAIMS
ProgrammerAtAIMS

Crystal report Cumulative balance
User generated imagei am trying to do a cumulative balance:
i need to be abel to add the balance to the sum of the previous section

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of Ido MilletIdo Millet🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of James0628James0628

If the report can have more than 2 groups, do you want the total from _only_ the group right before that one, or do you really want the total of all of the groups (records) up to that point?

 If you want the total for everything up to that point, a running total may be all that you need.

 James

Avatar of ProgrammerAtAIMSProgrammerAtAIMS

ASKER

IdoMillet your answer works but not fully
the total that i got in the second section was not right

James0628 the report has 1 group which is group by date

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Ido MilletIdo Millet🇺🇸

Tough to guess what is wrong without more detail.
Explain what formula you have in what section and at what point you get a value that is not as expected.
Use images if possible.

User generated imageso that is the way the report is designed 1 group by date
the point of this report is to show in the first section the sum of the payment from the begging of time till the day the user choose and in the second section the payments done from the day desired till present day
the first section will only show the sum and the second section will show the details as well as the details
User generated imagethe trick is that i need the total of the first section to be used in the difference of payments as your code did but the sum displayed in the function isn't the sum of the first section
thank you in advance

the point of this report is to show in the first section the sum of the payment from the begging of time till the day the user choose and in the second section the payments done from the day desired till present day
Define "first section" and "second section".

the first section will only show the sum and the second section will show the details as well as the details
"... will show the details as well as the details" ?

 James

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Show the details as well as the Total** sorry for the mistake
anw i found an alternate solution using the running total in the query

So you've got the figures that you were looking for?  Glad to hear it.

 James
ASP.NET

ASP.NET

--

Questions

--

Followers

Top Experts

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications