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 / Queries / July 2006

Tip: Looking for answers? Try searching our database.

Giving a value to a null field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JoeA2006 - 10 Jul 2006 19:45 GMT
I have a query that has null values in the criteria field. What is the
correct expression to fill that field with the same value for all the records
in that result set?
Ofer Cohen - 10 Jul 2006 19:53 GMT
To replace a Null with another value you can use the NZ Function

Nz([FieldName],0)
will retun 0 instead of Null

Nz([FieldName],1)
will retun 1 instead of Null

Signature

Good Luck
BS"D

> I have a query that has null values in the criteria field. What is the
> correct expression to fill that field with the same value for all the records
> in that result set?
 
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.