G
Guest
I have created a search form with multiple selection criteria. The user can
select none, any, or all of these criteria to use as a filter. Once they
click the print button it closes the search form then opens the report with
DoCmd.OpenReport applying the filter based on their input. Everything works
great unless they pick a combination of criteria that does not have a
corresponding record. The report opens but I get #ERROR in all of my
calculated fields with everything else blank.
I would like to check for data and give the user an error message if nothing
is found. Any guidance you can provide would be great.
Thanks,
Rich
select none, any, or all of these criteria to use as a filter. Once they
click the print button it closes the search form then opens the report with
DoCmd.OpenReport applying the filter based on their input. Everything works
great unless they pick a combination of criteria that does not have a
corresponding record. The report opens but I get #ERROR in all of my
calculated fields with everything else blank.
I would like to check for data and give the user an error message if nothing
is found. Any guidance you can provide would be great.
Thanks,
Rich