Link to home
Start Free TrialLog in
Avatar of nickmark
nickmark

asked on

How do I reference the detail section of an access report to check if itis empty

I have a report that breaks on client. If there is no detail information for a client I want to display a text box that says "No information". I have the text box hidden and will change it to visible based on the trigger.
Problem - I have tried .HASDATA but it always returns true even if the detail section is empty.
I have dozens of clients and they are populated 95% of thie time. This will put the finishing touches on the report.
Avatar of als315
als315
Flag of Russian Federation image

Try to use report event - On No Data and there set your control to visible
Avatar of nickmark
nickmark

ASKER

The report will always have data but some of the detail sections will not. For instance there will be data for 40 clients but no data for one. Can I put this on the report level or do I need something on the detail level. This report breaks on Ckient.
Thanks
Is client presented in source query if there are no data records? May be for your case is better to use subreports, where you can analyze - are there data or not
ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks - I will modify the report. I appreciate your help!
Thanks - That is exactly what I ended up with as my solution.