
Signature
Duane Hookom
Microsoft Access MVP
> I am doing a general legder. I have plently of subreports which i put them
> all into a final report.
[quoted text clipped - 6 lines]
>
> Thanks
I create a textbox with this in:
=([NGLPurchaseQuery].[Report]![Text13])
Assuming there is no data during 16/5/2008 for my purchases.
In my final report, this textbox appears a "0" in the report view. But when I
did a print view it gave me #Error.
I am not using the Has Data property, and I couldn't find that property
>Could you provide the control source of the troublesome control or how you
>are displaying the value? Are you using the HasData property of the subreport
[quoted text clipped - 5 lines]
>>
>> Thanks
Duane Hookom - 16 May 2008 14:00 GMT
HasData isn't well documented. You should try
=IIf([NGLPurchaseQuery].[Report].HasData,[NGLPurchaseQuery].[Report]![Text13],0)

Signature
Duane Hookom
Microsoft Access MVP
> I create a textbox with this in:
> =([NGLPurchaseQuery].[Report]![Text13])
[quoted text clipped - 14 lines]
> >>
> >> Thanks
Syphonics - 16 May 2008 17:51 GMT
Thanks for that HasData, it works wonder.
>HasData isn't well documented. You should try
>=IIf([NGLPurchaseQuery].[Report].HasData,[NGLPurchaseQuery].[Report]![Text13],0)
[quoted text clipped - 4 lines]
>> >>
>> >> Thanks