473,396 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Sum problem in Two Fileds

I have Cost Analysis form created where there are three fileds and I
want to have total of all the fileds at the end. I have created text
box which has Control Source as =[Text1]+[Text2]+[Text3]. It shows me
total of three text boxes when there are some values in all three text
boxes but if there are values in only one or two text boxes it is not
dislpaying total. Can anyone please help me to solve the problem. I am
new to access database.

Thanks,
Mukesh

Jun 26 '06 #1
2 1478
On 26 Jun 2006 06:11:05 -0700, mu************@gmail.com wrote:
I have Cost Analysis form created where there are three fileds and I
want to have total of all the fileds at the end. I have created text
box which has Control Source as =[Text1]+[Text2]+[Text3]. It shows me
total of three text boxes when there are some values in all three text
boxes but if there are values in only one or two text boxes it is not
dislpaying total. Can anyone please help me to solve the problem. I am
new to access database.

Thanks,
Mukesh


Look up the Nz function in VBA help.

=Nz([Text1]) + Nz([Text2]) + Nz([Text3])
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jun 26 '06 #2
Thanks Fredge for your prompt response. Greatly appreicated. I will try
this function tonight and will post the answer.
Mukesh
fredg wrote:
On 26 Jun 2006 06:11:05 -0700, mu************@gmail.com wrote:
I have Cost Analysis form created where there are three fileds and I
want to have total of all the fileds at the end. I have created text
box which has Control Source as =[Text1]+[Text2]+[Text3]. It shows me
total of three text boxes when there are some values in all three text
boxes but if there are values in only one or two text boxes it is not
dislpaying total. Can anyone please help me to solve the problem. I am
new to access database.

Thanks,
Mukesh


Look up the Nz function in VBA help.

=Nz([Text1]) + Nz([Text2]) + Nz([Text3])
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


Jun 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mark Creelman | last post by:
Hi: I am relatively new to ASP. I prefer Perl, but need to do this form to e-mail sipt for a web page, See Example of script below that works fine. I want to add the feature to this where it...
0
by: Pedro Coelho | last post by:
Can any one helpme? I'm a new user of ms access 2000 and need to do a db where checklists will be filled. My problem is to create a system where de records of table 1 are de fileds of table 2....
2
by: surendra | last post by:
hi, i have to maintain a no of 1 bit flags.So i have two approaches 1) using bit fileds: typedef struct flags_{ unsigned int f_1: 1; unsigned int f_2: 2;
1
by: vj | last post by:
How i can populate all fileds dynamically in jsp page based on contents found in xml file? I have written jsp servlets and java class file. i transferred automatic data from jsp to servlet then to...
0
by: vijendra | last post by:
How i can populate all fileds dynamically in jsp page based on contents found in xml file?I have written jsp servlets and java class file. i transferred automatic data from jsp to servlet then to...
1
by: buru | last post by:
Hello, I create this code which copy some fileds from mdb to an xls and it works fine. But now I have some problems with the opposite operation. Does everyone know a similar function like...
3
by: suresh Chowdary | last post by:
Hi everyone, i ahve the one table with 2 not null fileds ,in this one column accept certain values (1,2,3), and another column will accept (1m,2m,3m). the problem is when the data extracting...
8
by: Tradeorganizer | last post by:
Hi, I have a database with table name as test in that i have 6 colums they are name varchar (20) address varchar (20) position varchar (20) nametype1 varchar (20) nametype2 varchar (20)
0
by: Venkata Rama | last post by:
Pass data to frames main page from popup window through hidden fileds and frames main page should get refrshed .Please give example . Regards Rama Venkata Enike
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.