デバッグ実行を行い、失敗するときはDoCmd.OutputToの箇所で、エラーコード"2501"が発生することを確認しています。 Closeが完了する前にOpenReportが実行されることで発生しているのかと思い、ループごとに10秒の待ち時間を入れてみましたが回避できませんでした。
2501: <EventName> action cancelled. The expression <EventName> you entered as the event property setting produced the following error: Object of class does not support the set of events. 原因 この問題は、セキュリティ更新プログラム MS16-004 によって、既存の Access データベースまた...
551d2501 01ff0416 30140608 2b060105 05070301 06082b06 01050507 0309300d 06092a86 4886f70d 01010505 00038181 003a1ad6 07450f06 efb2fba0 8b63a57a 004b5955 7a7c9b08 756bba42 8bd34253 ca224320 8933a9ec 0a8c4a61 ecd7adb7 dec8f7bc 61e1...