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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How can I addition a quantity in a text box



 
 
Thread Tools Display Modes
  #1  
Old October 29th, 2007, 10:56 PM posted to microsoft.public.access.reports
Fred's
external usenet poster
 
Posts: 96
Default How can I addition a quantity in a text box

Hi,

How can I addition a quantity in a text box (unbound control box)
which is in the section of detail of the report. My report bounds to a
table.

Here are the header field names, and the info entered in these field
names are numbers.

ALDO
FEETFIRST
TRANSIT
GLOBO

  #2  
Old October 29th, 2007, 11:34 PM posted to microsoft.public.access.reports
fredg
external usenet poster
 
Posts: 4,386
Default How can I addition a quantity in a text box

On Mon, 29 Oct 2007 15:56:48 -0700, Fred's wrote:

Hi,

How can I addition a quantity in a text box (unbound control box)
which is in the section of detail of the report. My report bounds to a
table.

Here are the header field names, and the info entered in these field
names are numbers.

ALDO
FEETFIRST
TRANSIT
GLOBO


These fields all contain number values?
You wish to add them all together?

In an unbound text control on the report:

=[Nz([Aldo]) + Nz([FeetFirst]) + Nz([Transit]) + Nz([Globo])

The Nz() is needed in case one of the fields contains no data (Is
Null).
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #3  
Old October 30th, 2007, 05:51 PM posted to microsoft.public.access.reports
Klatuu
external usenet poster
 
Posts: 7,074
Default How can I addition a quantity in a text box

fredg,
As written, all nulls will be converted to a Null string ""
Should be:
=[Nz([Aldo],0) + Nz([FeetFirst],0) + Nz([Transit],0) + Nz([Globo],0)
--
Dave Hargis, Microsoft Access MVP


"fredg" wrote:

On Mon, 29 Oct 2007 15:56:48 -0700, Fred's wrote:

Hi,

How can I addition a quantity in a text box (unbound control box)
which is in the section of detail of the report. My report bounds to a
table.

Here are the header field names, and the info entered in these field
names are numbers.

ALDO
FEETFIRST
TRANSIT
GLOBO


These fields all contain number values?
You wish to add them all together?

In an unbound text control on the report:

=[Nz([Aldo]) + Nz([FeetFirst]) + Nz([Transit]) + Nz([Globo])

The Nz() is needed in case one of the fields contains no data (Is
Null).
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

  #4  
Old October 31st, 2007, 05:12 PM posted to microsoft.public.access.reports
Fred's
external usenet poster
 
Posts: 96
Default How can I addition a quantity in a text box

On Oct 30, 1:51 pm, Klatuu wrote:
fredg,
As written, all nulls will be converted to a Null string ""
Should be:
=[Nz([Aldo],0) + Nz([FeetFirst],0) + Nz([Transit],0) + Nz([Globo],0)
--
Dave Hargis, Microsoft Access MVP



"fredg" wrote:
On Mon, 29 Oct 2007 15:56:48 -0700, Fred's wrote:


Hi,


How can I addition a quantity in a text box (unbound control box)
which is in the section of detail of the report. My report bounds to a
table.


Here are the header field names, and the info entered in these field
names are numbers.


ALDO
FEETFIRST
TRANSIT
GLOBO


These fields all contain number values?
You wish to add them all together?


In an unbound text control on the report:


=[Nz([Aldo]) + Nz([FeetFirst]) + Nz([Transit]) + Nz([Globo])


The Nz() is needed in case one of the fields contains no data (Is
Null).
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail- Hide quoted text -


- Show quoted text -


Hi, when I enter your formla: =[Nz([Aldo]) + Nz([FeetFirst]) +
Nz([Transit]) + Nz([Globo])
the access help tell me that there are to manya brackets? Any other
idea!
Thank you,
Fred's



  #5  
Old October 31st, 2007, 05:20 PM posted to microsoft.public.access.reports
Klatuu
external usenet poster
 
Posts: 7,074
Default How can I addition a quantity in a text box

Sorry, it was a typo. Correct syntax is
=Nz([Aldo]) + Nz([FeetFirst]) + Nz([Transit]) + Nz([Globo])

--
Dave Hargis, Microsoft Access MVP


"Fred's" wrote:

On Oct 30, 1:51 pm, Klatuu wrote:
fredg,
As written, all nulls will be converted to a Null string ""
Should be:
=[Nz([Aldo],0) + Nz([FeetFirst],0) + Nz([Transit],0) + Nz([Globo],0)
--
Dave Hargis, Microsoft Access MVP



"fredg" wrote:
On Mon, 29 Oct 2007 15:56:48 -0700, Fred's wrote:


Hi,


How can I addition a quantity in a text box (unbound control box)
which is in the section of detail of the report. My report bounds to a
table.


Here are the header field names, and the info entered in these field
names are numbers.


ALDO
FEETFIRST
TRANSIT
GLOBO


These fields all contain number values?
You wish to add them all together?


In an unbound text control on the report:


=[Nz([Aldo]) + Nz([FeetFirst]) + Nz([Transit]) + Nz([Globo])


The Nz() is needed in case one of the fields contains no data (Is
Null).
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail- Hide quoted text -


- Show quoted text -


Hi, when I enter your formla: =[Nz([Aldo]) + Nz([FeetFirst]) +
Nz([Transit]) + Nz([Globo])
the access help tell me that there are to manya brackets? Any other
idea!
Thank you,
Fred's




  #6  
Old October 31st, 2007, 07:25 PM posted to microsoft.public.access.reports
Fred's
external usenet poster
 
Posts: 96
Default How can I addition a quantity in a text box

On Oct 31, 1:20 pm, Klatuu wrote:
Sorry, it was a typo. Correct syntax is
=Nz([Aldo]) + Nz([FeetFirst]) + Nz([Transit]) + Nz([Globo])

--
Dave Hargis, Microsoft Access MVP



"Fred's" wrote:
On Oct 30, 1:51 pm, Klatuu wrote:
fredg,
As written, all nulls will be converted to a Null string ""
Should be:
=[Nz([Aldo],0) + Nz([FeetFirst],0) + Nz([Transit],0) + Nz([Globo],0)
--
Dave Hargis, Microsoft Access MVP


"fredg" wrote:
On Mon, 29 Oct 2007 15:56:48 -0700, Fred's wrote:


Hi,


How can I addition a quantity in a text box (unbound control box)
which is in the section of detail of the report. My report bounds to a
table.


Here are the header field names, and the info entered in these field
names are numbers.


ALDO
FEETFIRST
TRANSIT
GLOBO


These fields all contain number values?
You wish to add them all together?


In an unbound text control on the report:


=[Nz([Aldo]) + Nz([FeetFirst]) + Nz([Transit]) + Nz([Globo])


The Nz() is needed in case one of the fields contains no data (Is
Null).
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail- Hide quoted text -


- Show quoted text -


Hi, when I enter your formla: =[Nz([Aldo]) + Nz([FeetFirst]) +
Nz([Transit]) + Nz([Globo])
the access help tell me that there are to manya brackets? Any other
idea!
Thank you,
Fred's- Hide quoted text -


- Show quoted text -


Tha

  #7  
Old October 31st, 2007, 07:30 PM posted to microsoft.public.access.reports
Fred's
external usenet poster
 
Posts: 96
Default How can I addition a quantity in a text box

On Oct 31, 1:20 pm, Klatuu wrote:
Sorry, it was a typo. Correct syntax is
=Nz([Aldo]) + Nz([FeetFirst]) + Nz([Transit]) + Nz([Globo])

--
Dave Hargis, Microsoft Access MVP



"Fred's" wrote:
On Oct 30, 1:51 pm, Klatuu wrote:
fredg,
As written, all nulls will be converted to a Null string ""
Should be:
=[Nz([Aldo],0) + Nz([FeetFirst],0) + Nz([Transit],0) + Nz([Globo],0)
--
Dave Hargis, Microsoft Access MVP


"fredg" wrote:
On Mon, 29 Oct 2007 15:56:48 -0700, Fred's wrote:


Hi,


How can I addition a quantity in a text box (unbound control box)
which is in the section of detail of the report. My report bounds to a
table.


Here are the header field names, and the info entered in these field
names are numbers.


ALDO
FEETFIRST
TRANSIT
GLOBO


These fields all contain number values?
You wish to add them all together?


In an unbound text control on the report:


=[Nz([Aldo]) + Nz([FeetFirst]) + Nz([Transit]) + Nz([Globo])


The Nz() is needed in case one of the fields contains no data (Is
Null).
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail- Hide quoted text -


- Show quoted text -


Hi, when I enter your formla: =[Nz([Aldo]) + Nz([FeetFirst]) +
Nz([Transit]) + Nz([Globo])
the access help tell me that there are to manya brackets? Any other
idea!
Thank you,
Fred's- Hide quoted text -


- Show quoted text -


Hi Dave, thank you, I forgot to ask you something else,

Once the total of your formula appear, If I want a Grand total of it,
what will be the formula?

Thank you,
Fred's

 




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 06:49 AM.


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