A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I add up a column in a subform?



 
 
Thread Tools Display Modes
  #1  
Old January 29th, 2007, 09:33 AM posted to microsoft.public.access.forms
Adding a column in a subform?
external usenet poster
 
Posts: 1
Default How do I add up a column in a subform?

In my subform I have a column which I would like to get the total of. I've
managed to make it so I can get the number in the column of the record I have
selected, but not the whole total. The total should appear in a box in the
subform footer and so far the box has the equation
=Sum([NumberOfCandidatesEntered1])
Could anyone help me?
  #2  
Old January 29th, 2007, 10:41 AM posted to microsoft.public.access.forms
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default How do I add up a column in a subform?

Hi

If you are trying to count the number of records you could use
=count([FieldName])



--
Wayne
Manchester, England.



"Adding a column in a subform?" wrote:

In my subform I have a column which I would like to get the total of. I've
managed to make it so I can get the number in the column of the record I have
selected, but not the whole total. The total should appear in a box in the
subform footer and so far the box has the equation
=Sum([NumberOfCandidatesEntered1])
Could anyone help me?

  #3  
Old January 29th, 2007, 04:38 PM posted to microsoft.public.access.forms
KM Davison
external usenet poster
 
Posts: 6
Default How do I add up a column in a subform?

Is you calculated control a text box with the equation in the control source
and located in the form footer, not the detail section, I also find that the
name of the control has to be unque.

Katherine Davison
www.KatherineDavison.co.uk

"Adding a column in a subform?" wrote:

In my subform I have a column which I would like to get the total of. I've
managed to make it so I can get the number in the column of the record I have
selected, but not the whole total. The total should appear in a box in the
subform footer and so far the box has the equation
=Sum([NumberOfCandidatesEntered1])
Could anyone help me?

 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.