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 / January 2008

Tip: Looking for answers? Try searching our database.

DSum

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tray - 10 Jan 2008 19:30 GMT
Im using a DSum function on my form to total a column in a query. However,
when there are no records that meet the criteria, the DSum field is blank.
How can I make it show a 0 instead of just an empty textbox??
BruceM - 10 Jan 2008 19:36 GMT
You can probably wrap the whole expression in the Nz function:
Nz(DSum("SomeField","SomeTable"),0)
It would have helped had you posted the actual expression.

> Im using a DSum function on my form to total a column in a query. However,
> when there are no records that meet the criteria, the DSum field is blank.
> How can I make it show a 0 instead of just an empty textbox??
 
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.