Easy one for you clever people but it’s driving me mad.
If yo create an “OnNoData” event procedure for a report and the enter the event as DoCmd.Close “repName”. You get a debug error.
How can you not display a report wih no data when using
DoCmd.OpenReport “repName”, acViewPreview
All help gratefully received. As usual