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 / Forms / October 2005

Tip: Looking for answers? Try searching our database.

Adding fields when one field is blank

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
diros - 22 Oct 2005 22:04 GMT
I have three fields.  Rent and arrears and latefee.  When arrears or rent fee
is blank, I don't get a total.  This is what I did in the text field I
created.

=[rent] + [arrears] + [latefee].

I use Access 2000 and don't have a clue about programming.  I don't want to
take the extra stop of putting a zero in arrears and latefee to I get a total.

Thanks in advance for any help.
Brendan Reynolds - 22 Oct 2005 22:14 GMT
=NZ([rent],0)+NZ([arrears],0)+NZ([latefee],0)

See NZ Function in the help file for details.

Signature

Brendan Reynolds

>I have three fields.  Rent and arrears and latefee.  When arrears or rent
>fee
[quoted text clipped - 9 lines]
>
> Thanks in advance for any help.
diros - 22 Oct 2005 23:09 GMT
Your suggestion worked perfectly.  Thanks.

> =NZ([rent],0)+NZ([arrears],0)+NZ([latefee],0)
>
[quoted text clipped - 13 lines]
> >
> > Thanks in advance for any help.
 
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



©2008 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.