M
Mishanya
In the MainForm there is an unbound box MainformTotal showing total from
Subform.
Its Control Source goes:
=[SubformName].[Form]![SubformTotalControlName]
and it works perfectly.
When the SubformTotalControlName is empty (no records in the Subform), the
MainformTotal control shows #Error.
I change its Control Source to:
=Nz([SubformName].[Form]![SubformTotalControlName])
but to no effect.
I even set the SubformTotalControl' Control Source to
=Nz(Sum([RelevantColumn]))
still to no effect.
Again, when not empty it all works - means the reference sintax is OK.
Can blame it on DB corruption (possibly - Nz function missing in my Access)
or there is more plausible explanation?
Subform.
Its Control Source goes:
=[SubformName].[Form]![SubformTotalControlName]
and it works perfectly.
When the SubformTotalControlName is empty (no records in the Subform), the
MainformTotal control shows #Error.
I change its Control Source to:
=Nz([SubformName].[Form]![SubformTotalControlName])
but to no effect.
I even set the SubformTotalControl' Control Source to
=Nz(Sum([RelevantColumn]))
still to no effect.
Again, when not empty it all works - means the reference sintax is OK.
Can blame it on DB corruption (possibly - Nz function missing in my Access)
or there is more plausible explanation?