I have a macro that generates a report based on a query with a date range condition and a field value condition of -1. When the macro runs and both conditions are met I get what I want. However when the -1 condition fails, or is 0, I still get the report with #error which is to be expected.
I have tried using the where conditon field in the macro and set it so the field value is equal to -1 but I still get the report with the #Error.
Is there a way to not have the report print when the second condition is not -1???
I have tried using the where conditon field in the macro and set it so the field value is equal to -1 but I still get the report with the #Error.
Is there a way to not have the report print when the second condition is not -1???