Zero Default

D

DS

How do you set a Zero default to an Unbound field if the amount that is
to be in the field is coming from a control on a Sub-report that has no
records in it?
Thanks
DS
 
K

Ken Snell [MVP]

Set the ControlSource to this:

=Nz(IIf(IsError([subreport].[report].[controlname]), 0,
[subreport].[report].[controlname]), 0)
 
D

DS

Ken said:
Set the ControlSource to this:

=Nz(IIf(IsError([subreport].[report].[controlname]), 0,
[subreport].[report].[controlname]), 0)
KEN!!!
God bless Ya, I've been banging my head against the wall for hours now.
It Works!!!! Thank you so very much.
DS
 
K

Ken Snell [MVP]

You're welcome.
--

Ken Snell
<MS ACCESS MVP>

DS said:
Ken said:
Set the ControlSource to this:

=Nz(IIf(IsError([subreport].[report].[controlname]), 0,
[subreport].[report].[controlname]), 0)
KEN!!!
God bless Ya, I've been banging my head against the wall for hours now.
It Works!!!! Thank you so very much.
DS
 

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