A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Nil Value



 
 
Thread Tools Display Modes
  #1  
Old February 10th, 2005, 05:25 AM
Steve S.
external usenet poster
 
Posts: n/a
Default Nil Value

Have created a database to track eroors people are making and reports to
repot thos errors. One of the requirements is if a persons work was checked
on a particular day then we still record how many items were checked but
leave the "Errors Found" field blank in effect to sho that person had a 0%
error rate for that day.

I have created a query using simple count functions, that works fine if
there is an eroor but how can I change the count of Errors Found to report as
a Zero if the person had no erroors. Present it is counting that there is a
record and reporting it as 1 Error found???

Help please,
  #2  
Old February 10th, 2005, 12:11 PM
Brendan Reynolds
external usenet poster
 
Posts: n/a
Default

You can use the NZ() function. Replace references to your Errors Found field
with an expression such as: NZ([Errors found], 0). See NZ Function in the
help file for details.

However, a Null value is best used to represent an unknown value, e.g., we
haven't checked this person's work yet, so we don't know whether there were
errors or not. If the work has been checked and there were no errors, it
would be better to enter a 0 in the field.

--
Brendan Reynolds (MVP)

"Steve S." wrote in message
...
Have created a database to track eroors people are making and reports to
repot thos errors. One of the requirements is if a persons work was
checked
on a particular day then we still record how many items were checked but
leave the "Errors Found" field blank in effect to sho that person had a 0%
error rate for that day.

I have created a query using simple count functions, that works fine if
there is an eroor but how can I change the count of Errors Found to report
as
a Zero if the person had no erroors. Present it is counting that there is
a
record and reporting it as 1 Error found???

Help please,



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:44 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.