Sign Up |  Live StatsLive Stats    Articles 35,345| Comments 159,790| Members 17,820, Newest waheguruhelpme| Online 198
Home Contact
 (Forgotten?): 
    Sikhism

   
                                                                     Your Banner Here!    

Sikh Philosophy Network » Sikh Philosophy Network » Current Affairs » Information Technology » Line by line sum of two columns in a report

Line by line sum of two columns in a report

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 35 USD (9%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
Kirtan Sohila Video - Line By Line Translation Astroboy Discourses in English 1 12-Nov-2007 15:52 PM
Shabad Hazaare Video (Line by Line) Transliteration Astroboy Discourses in English 0 30-Sep-2007 14:21 PM
Anand Sahib - Audio & Video (Line by Line) Astroboy Anand Sahib 0 29-Sep-2007 18:09 PM
count line in memo(multi line text) yousef Information Technology 2 28-Jul-2006 08:16 AM
Draw a continuous verticle line in a report between two columns. Glo Information Technology 2 18-Nov-2005 14:00 PM


Tags
line, sum, two, columns, report
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:31 AM
H2OBOWL's Avatar H2OBOWL
Guest
 
Posts: n/a
   
   
Line by line sum of two columns in a report

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I'm setting up a checkbook register db and in the table I have a deposits
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/12719-line-line-sum-two-columns-report.html
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719
field and a withdrawals field. On the report I want to sort by date and have
a line by line balance to the side of each transaction the same way it would
be in a paper checkbook register. I can't seem to get running sums to work
for the two fields.
Thank you for your help.

*








 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:31 AM
Joseph Meehan's Avatar Joseph Meehan
Guest
 
Posts: n/a
   
   
Re: Line by line sum of two columns in a report

H2OBOWL wrote:
> I'm setting up a checkbook register db and in the table I have a
> deposits field and a withdrawals field. On the report I want to sort
> by date and have a line by line balance to the side of each
> transaction the same way it would be in a paper checkbook register.
> I can't seem to get running sums to work for the two fields.
> Thank you for your help.

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719

Make sure you are sorting and grouping properly. How do you have them
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719
grouped and sorted now?

What exactly is it doing or not doing that is the problem?



--
Joseph Meehan

Dia duit


Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:31 AM
John Vinson's Avatar John Vinson
Guest
 
Posts: n/a
   
   
Re: Line by line sum of two columns in a report

On Thu, 6 Jul 2006 14:31:02 -0700, H2OBOWL
wrote:

>I'm setting up a checkbook register db and in the table I have a deposits
>field and a withdrawals field. On the report I want to sort by date and have
>a line by line balance to the side of each transaction the same way it would
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719
>be in a paper checkbook register. I can't seem to get running sums to work
>for the two fields.
>Thank you for your help.


Running Sum works *across records*, not *across fields*.

Instead you can put a calculated field in the query:

LineBalance: [Deposits] - [Withdrawals]

to get the net amount of this transacation, and use the running sum on
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719
this field.

John W. Vinson[MVP]
Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:31 AM
H2OBOWL's Avatar H2OBOWL
Guest
 
Posts: n/a
   
   
Re: Line by line sum of two columns in a report

Thanks. How/where should I put this into the query?
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719

"John Vinson" wrote:

> On Thu, 6 Jul 2006 14:31:02 -0700, H2OBOWL
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719
> wrote:
>
> >I'm setting up a checkbook register db and in the table I have a deposits
> >field and a withdrawals field. On the report I want to sort by date and have
> >a line by line balance to the side of each transaction the same way it would
> >be in a paper checkbook register. I can't seem to get running sums to work
> >for the two fields.
> >Thank you for your help.

>
> Running Sum works *across records*, not *across fields*.
>
> Instead you can put a calculated field in the query:
>
> LineBalance: [Deposits] - [Withdrawals]
>
> to get the net amount of this transacation, and use the running sum on
> this field.
>
> John W. Vinson[MVP]
>

Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:31 AM
John Vinson's Avatar John Vinson
Guest
 
Posts: n/a
   
   
Re: Line by line sum of two columns in a report

On Thu, 6 Jul 2006 1602 -0700, H2OBOWL
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719
wrote:

>Thanks. How/where should I put this into the query?


Create a new Field by typing the expression in a vacant Field cell in
the query grid.

John W. Vinson[MVP]
Reply With Quote
  #6 (permalink)  
Old 28-Jul-2006, 08:31 AM
H2OBOWL's Avatar H2OBOWL
Guest
 
Posts: n/a
   
   
Re: Line by line sum of two columns in a report

It's not working. The Line Balance only shows blanks on the report. I found
that the Line Balance only shows anything on the report when there is an
amount in both the deposit and withdrawal fields, and since there is no
reason to have a deposit and a withdrawal on the same line it doesn't show
anything under normal circumstances. (Also when I run the query by itself
the Line Balance column is all blank) I figured that *might* be ok though
and I went ahead and set up my running sum but no good. The running sum just
shows zeros all the way down. My guess is that since there is no data in the
Line Balance field then the running sum figures the answer is zero. It looks
like the line balance isn't working for what I'm needing. What do you think?


"John Vinson" wrote:

> On Thu, 6 Jul 2006 1602 -0700, H2OBOWL
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719
> wrote:
>
> >Thanks. How/where should I put this into the query?

>
> Create a new Field by typing the expression in a vacant Field cell in
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719
> the query grid.
>
> John W. Vinson[MVP]
>

Reply With Quote
  #7 (permalink)  
Old 28-Jul-2006, 08:31 AM
John Vinson's Avatar John Vinson
Guest
 
Posts: n/a
   
   
Re: Line by line sum of two columns in a report

  Donate Today!  
On Thu, 6 Jul 2006 20:47:02 -0700, H2OBOWL
wrote:

>It's not working. The Line Balance only shows blanks on the report. I found
>that the Line Balance only shows anything on the report when there is an
>amount in both the deposit and withdrawal fields, and since there is no
>reason to have a deposit and a withdrawal on the same line it doesn't show
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719
>anything under normal circumstances.


Ah. Sorry, should have realized that!
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12719

Use this expression instead (or an analogous one):

LineBalance: NZ([Deposits]) - NZ([Withdrawals])

The built-in NZ (Null To Zero) function will convert blank values to 0
and they'll add correctly.

John W. Vinson[MVP]
Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Active Discussions
sikhism Who is "Mohan"?
Today 08:46 AM
22 Replies, 335 Views
sikhism How important is Matha...
Today 08:12 AM
59 Replies, 1,038 Views
sikhism need urgent advice.......
Today 06:46 AM
6 Replies, 81 Views
sikhism ਨਾਮਾ
Today 06:37 AM
2 Replies, 53 Views
sikhism Sikh Diamonds Video...
Today 04:23 AM
6 Replies, 116 Views
sikhism Are Creator and Creation...
Today 01:30 AM
44 Replies, 2,837 Views
sikhism Herman Hesse,...
Today 00:54 AM
13 Replies, 229 Views
sikhism On a Scale of Most...
Yesterday 21:42 PM
30 Replies, 1,277 Views
sikhism I became victim by...
Yesterday 19:50 PM
0 Replies, 44 Views
sikhism Sikh Books downloads
Yesterday 15:39 PM
2 Replies, 66 Views
sikhism Salok Sheikh Farid ji...
Yesterday 09:35 AM
0 Replies, 47 Views
sikhism In Punjab, three farmers...
Yesterday 05:36 AM
0 Replies, 49 Views
sikhism Supernatural Sikhs, what...
Yesterday 03:45 AM
19 Replies, 414 Views
sikhism Sukhmani Sahib Astpadi...
26-May-2012 22:57 PM
0 Replies, 51 Views
Do You Think You Are...
26-May-2012 09:59 AM
94 Replies, 8,258 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 09:09 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.35606 seconds with 30 queries