You might want to put an error handling routine in the On_Close event of the
report in question. That way, when it hits in the error in the on_close,
your message will come up, and the system will continue on without erroring
all the way out...
"sj" <sengjin.sia@gmail.comwrote in message
news:1180056260.487227.4360@z28g2000prd.googlegrou ps.com...
Quote:
>I am using Access 03 to develop a Quotation system and has this
strange enconter.
>
On computer with Full Access Ver.
---------------------------------------------------
The MDB program works well, and also when simulated of /runtime.
>
On computer runntion on Runtime
-------------------------------------------------
Error occur with MDB but not with converted MDE.
>
Detail of error:
--------------------
"Execution of this application has stopped due to a run-time error.
This application can't continue and will be shut down."
>
Happens after this code:
----------------------------------
DoCmd.Close acReport, stPubDocName
>
Situation when it happens:
--------------------------------------
When there is more than one QuotationDetails in the Quotation report.
>
>
Please help.
>