Problem solved !
Here is a quick summary about the way I've finally used :
- Behind a Cmd_Print button in the form, I call a PrepReport() function which calculates and validates some hidden textbox controls.
- If PrepReport() fails, I warn user about the specific reason why and don't engage...
Thanks for the ideas Andy, but two constraints forgottent in my description :
- I launch a MsgBox to warn user if the textbox fails to be calculated => If I manage the query on which the report is based to be empty (with no record), I'll just get possibility to detect the NoData event, but not...
Hi all,
In Access 97, I need to cancel a report printing if a calculated control (edit text one) fails to be calculated. How to do-it ?
My current state:
-----------------
A report called from a form through a "DoCmd.OpenReport strReportName, acNormal, , strLinkCriteria".
In the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.