K
Keith Wilby
Following on from my recent "RecordCount" thread ...
I have an unbound report which contains two subreports. I've used the
method suggested by Al to count the records in the subs but I want the main
report to close if both subs are empty. I've successfully trapped error 440
in various events but each time I use
DoCmd.Close acReport, Me.Name
I get an error saying that the action isn't possible whilst the report is
formatting. Does anyone have a solution?
Many thanks.
Keith.
I have an unbound report which contains two subreports. I've used the
method suggested by Al to count the records in the subs but I want the main
report to close if both subs are empty. I've successfully trapped error 440
in various events but each time I use
DoCmd.Close acReport, Me.Name
I get an error saying that the action isn't possible whilst the report is
formatting. Does anyone have a solution?
Many thanks.
Keith.