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 / Database Design / November 2005

Tip: Looking for answers? Try searching our database.

if/then conditional statement help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
christopher - 30 Nov 2005 22:03 GMT
I have an output field in my db that lists  [SumOfBALANCE] however, when
performing a later function it turns out that if this field is blank I get a
blank result.  The fields won't sum a # field w/ a blank field.

How do I create an if  [SumOfBALANCE] = "blank", then  [SumOfBALANCE] =0 so
that it actually writes the 0 to my field?

I appreciate any help you can offer!  
chris
Jeff Boyce - 30 Nov 2005 22:27 GMT
Consider using the Nz() function in a query to return a zero if the field is
null.

NOTE:  I couldn't tell if you mean a zero-length string or null when you say
"blank".  They aren't the same.

Regards

Jeff Boyce
<Office/Access MVP>

>I have an output field in my db that lists  [SumOfBALANCE] however, when
> performing a later function it turns out that if this field is blank I get
[quoted text clipped - 7 lines]
> I appreciate any help you can offer!
> chris
 
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.