Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / September 2007

Tip: Looking for answers? Try searching our database.

Add Code needed!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob V - 12 Sep 2007 23:35 GMT
-
-

If I have four text boxes on my form tbA,tbB,tbC,tbD what code do I need for
tbD to add the other three totals into tbD
Thanks for any help.....Bob
KARL DEWEY - 12 Sep 2007 23:52 GMT
Use source like this ---
   =NZ([Control_Source_of_tbA], 0) + NZ([Control_Source_of_tbB], 0 ) +
NZ([Control_Source_of_tbC], 0)

Signature

KARL DEWEY
Build a little - Test a little

> -
> -
>
> If I have four text boxes on my form tbA,tbB,tbC,tbD what code do I need for
> tbD to add the other three totals into tbD
> Thanks for any help.....Bob
fredg - 12 Sep 2007 23:52 GMT
> -
> -
>
> If I have four text boxes on my form tbA,tbB,tbC,tbD what code do I need for
> tbD to add the other three totals into tbD
> Thanks for any help.....Bob

As the control source of [tbD], write:

=Nz([tbA])+Nz([tbB]) + Nz([tbC])

The result should NOT be stored in any table.
When ever you need the calculated total, re-calculate it as above.
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.