If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Applications & Tools > Sum of 2 fields (one is running total and one is field)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-02-04, 23:15
vikaspa vikaspa is offline
Registered User
 
Join Date: Mar 2004
Posts: 1
Sum of 2 fields (one is running total and one is field)

I am generating a report that looks like this

Opening Balance 1,000.00 (field from a file called OPBAL)

Received 300.00 (field from Tansaction)
Received 400.00 (field from Tansaction)
Received 600.00 (field from Tansaction)
------------------------------------
1900.00 400.00 Total

I can print 900.00 as sub total using running total

How do I add 1000.00 which is opening balance

Please help
Reply With Quote
  #2 (permalink)  
Old 03-03-04, 13:36
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
What language (or tool) are you using?

I see the total as 1300.00 (based on your example). Where do the 1900.00 and 400.00 come from? How did you arrive at 900.00?

-PatP
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On