M
MarieM via AccessMonster.com
Hi,
I have a report which is run from a button on a form.
The report contains a subreport which has a calcualted field displaying a
total of all items on the subreport.
I have created a macro and attached it to the On Format property of the
report detail section to check if the total exceeds 5000. If the the total
exceeds 5000, a message box displays.
I would then like the report to close the report and return to the form so
the user can make adjustments. However, the Close action Halts the macro.
Any ideas would be appreciated as to how to make this work.
TIA,
Marie
I have a report which is run from a button on a form.
The report contains a subreport which has a calcualted field displaying a
total of all items on the subreport.
I have created a macro and attached it to the On Format property of the
report detail section to check if the total exceeds 5000. If the the total
exceeds 5000, a message box displays.
I would then like the report to close the report and return to the form so
the user can make adjustments. However, the Close action Halts the macro.
Any ideas would be appreciated as to how to make this work.
TIA,
Marie