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 sum multiple fields relating to a single field in a form



 
 
Thread Tools Display Modes
  #1  
Old January 7th, 2008, 03:18 AM posted to microsoft.public.access.forms
Gezza77
external usenet poster
 
Posts: 1
Default How do I sum multiple fields relating to a single field in a form

I am trying to set up a form that will totalise multiple fields relating to a
unique identifying field in the same table
  #2  
Old January 7th, 2008, 03:59 AM posted to microsoft.public.access.forms
Jeanette Cunningham
external usenet poster
 
Posts: 2,190
Default How do I sum multiple fields relating to a single field in a form

Hi,
put an unbound textbox on the form.
Set its datasource to something like = Nz(Me.txtA, 0) + Nz(Me.txtB,0) +
Nz(Me.txtC,0)
where txtA, txtB, txtC are controls for the fields you want to sum.

Jeanette Cunningham

"Gezza77" wrote in message
...
I am trying to set up a form that will totalise multiple fields relating to
a
unique identifying field in the same table



 




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 11:54 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.