the default value of zero in fields with a Number data type

P

Paul James

By default, Access gives a Default Value of 0 to fields with a Number data
type. I have been removing this value of zero from the Default Value
property of my Number fields, because I've considered it a minor annoyance
of no value.

I'm wondering if there's any disadvantage to doing this. That is, is there
any benefit to retaining a default value of 0 in Number fields?

Thanks in advance,

Paul
 
J

Jeff Boyce

Paul

As a statistician in a former life, my bias is that the "0" default is a
serious mistake. "0" is a value which implies something's been measured and
found to be ... "0". If I see a list of numbers, with "0"s, I assume those
are meaningful values.

I kill the "0" defaults too.
 
J

John Vinson

That is, is there
any benefit to retaining a default value of 0 in Number fields?

Only occasionally - when in the real world the number stored in this
field represents a value which can be assumed to be zero unless
otherwise specified. For instance, a PenaltyFee field could well be
zero, assuming that ordinarily there would be no such fee charged.
NULL is a mite less convenient in this case since you'ld need to use
NZ() to do math with the value.

The zero default on foreign key fields is a MAJOR pain in the neck of
course!
 
J

James

Thanks, gentlemen, for your comments.

I think I'll keep removing those zeroes from the default value property of
my Number fields.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top