473,491 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Creating Formula Fiels In Crystal Report

34 New Member
Hi Friends
I want to creae formula field in crystal report

i created one report such as

----------------------------------------------------------------------------------------------------------
ID-1 Opening Amount----- 5000
--------------------------------------------------------------------------------------------------------
ID Debit Credit CurBalance
---------------------------------------------------------------------------------------------------------
0 10000 0 15000
1 0 8000 7000
1 0 5000 2000
0 15000 0 17000

----------------------------------------------------------------------------------------------------------
ID-2 Opening Amount----- 15000
--------------------------------------------------------------------------------------------------------
ID Debit Credit CurBalance
---------------------------------------------------------------------------------------------------------
0 1000 0 16000
1 0 8000 8000
1 0 5000 3000
0 15000 0 18000



All Fields are comes from the table except CurBalance

Now From above informarion u have got the idea abt how curbalance is calculated.

----
at the begining curbalance=5000
when debit it will become 5000+ 10000=15000
that means
If ID=0 then
Curbalance+Debit
& Cur balance=Curbalance+Debit

& if id =1 then
Curbalance - Debit
& Cur balance=Curbalance - Debit

so plz tell me how i create this CurBalance Field

Thanks In advance
May 14 '08 #1
1 912
Shashi Sadasivan
1,435 Recognized Expert Top Contributor
What you are looking for is a running total field.

Unfortunately i havent tried this, you may have to search online for any examples
May 15 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
7745
by: RedZebra | last post by:
Hi I am calling and viewing Crystal Reports in internet explorer(using ASP pages) by passing them the selection formula for the main report. Its working fine. The problem is when the report has...
1
3837
by: B. Broadwell | last post by:
I have a report created in Crystal Reports 8 that I'm attempting to use in a ..NET application. I have the following formula that works in the Crystal 8 designer and when the report is run using...
0
2371
by: Michelle Stone | last post by:
I have bound a Crystal Report to a dataset that contains two fields "var1" and "var2" both of which are of DOUBLE type. I want to display the sum of the two on my report. So i created a...
0
2824
by: Srijith Augustine | last post by:
Hi, Record selection Formaula is not working while exporting the report to Excel There is absolutely no problem while using a crystal report viewer but if i export it to a excel the selection...
1
10877
by: Reny J Joseph Thuthikattu | last post by:
Hi, I want to create a a crystal report based on the DAteTime Range.Can any one tell me how do i pass the Values from the VB.NET.I am uasing Crystalreportviewer control My field is isin the...
0
1798
by: RJN | last post by:
Hi I have a main report and a sub report. I have a formula field on the main report and one on the sub report. I want the formula in the subreport to be evaluated after the formula in the main...
0
1604
by: RJN | last post by:
Hi Sorry for posting this message again. I have a main report and a sub report. I have a formula field on the main report and one on the sub report. I want the formula in the subreport to be...
0
2178
by: rjn | last post by:
Hi I have a main report in which I have inserted a sub report. I have a formula field on the main report and one on the sub report. I want the formula in the subreport to be evaluated after the...
0
3133
by: gkinu | last post by:
Crystal Report for Visual Studio.NET 2003. I have a formula that brings an error " .. A number is required here ... ". See the code snippet below which i have simplified. In the actual formula,...
0
7115
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7190
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6858
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.