Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

#Error Message

1 view
Skip to first unread message

Nigel

unread,
Jan 4, 2010, 10:34:01 AM1/4/10
to
I have created a calculation to count the number of people and placed it in
the Name Footer: =count([EyNumber]) and called the unbound box, CountNames.
When there are no results it returns the #Error message. How can I remove
this error message and display a message like, "No Data", or display the true
results of a count? I have tried using the IsError function but can't seem to
get it to work.

Thanks

Clifford Bass via AccessMonster.com

unread,
Jan 4, 2010, 2:26:26 PM1/4/10
to
Hi Nigel,

Try:

=IIf(IsError([EyNumber]), "No Data", Count([EyNumber])

Clifford Bass

--
Message posted via http://www.accessmonster.com

Clifford Bass via AccessMonster.com

unread,
Jan 5, 2010, 11:56:04 AM1/5/10
to
Hi Nigel,

Hmmm.... I presume you added the missing paranthesis that I missed at
the end. Try this instead:

=IIf(IsError(Count(*)), "No Data", Count(*))

Clifford Bass

Nigel wrote:
>Hi Clifford
>
>I tried inputting your suggestion into the unbound box but when I get a
>record with no data I still get thge #Error message.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/201001/1

Nigel

unread,
Jan 6, 2010, 12:30:01 PM1/6/10
to
Hi Clifford

No, that didn't work either. But, I've managed to find a solution:

IIf([HasData],Count(*),"No Data")

Many thanks for your replies and help.

Nigel

> .
>

Clifford Bass via AccessMonster.com

unread,
Jan 6, 2010, 1:09:02 PM1/6/10
to
Hi Nigel,

Glad I was able to help. The HasData is not something I have used in
the past. Good to know about it! Thanks for posting your solution!

Clifford Bass

Nigel wrote:
>Hi Clifford
>


>No, that didn't work either. But, I've managed to find a solution:
>
>IIf([HasData],Count(*),"No Data")
>
>Many thanks for your replies and help.
>
>Nigel

--

0 new messages