By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,916 Members | 1,286 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,916 IT Pros & Developers. It's quick & easy.

How to display a 0 for a empty record?

P: n/a
If a report yield 0 record, I will get an #error message on a
calculation field. How to display a 0 instead of #error on that field?

Thanks.
Perry

Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
pe******@yahoo.com wrote:
If a report yield 0 record, I will get an #error message on a
calculation field. How to display a 0 instead of #error on that field?

Thanks.
Perry

See if NZ() will work. Ex:
=NZ([Current],0) + NZ([Previous],0)
Nov 13 '05 #2

P: n/a
"Salad" <oi*@vinegar.com> wrote in message
news:OU***************@newsread1.news.pas.earthlin k.net...
pe******@yahoo.com wrote:
If a report yield 0 record, I will get an #error message on a
calculation field. How to display a 0 instead of #error on that field?

Thanks.
Perry

See if NZ() will work. Ex:
=NZ([Current],0) + NZ([Previous],0)


HasData property might help. Check Access help file.

John
Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.