Forum Discussion
Peter62270
Mar 25, 2023Copper Contributor
Access report als PDF
Hallo Community ich möchte einen Bericht mit mehreren Unterberichten als PDF speichern. Der VBA Code hierzu ist nicht das Problem, das funktioniert alles. In den meisten Fällen funktioniert das ohn...
XPS35
Mar 25, 2023Iron Contributor
Peter62270 Welche Fehlermeldung (Text) erhalten Sie. Sie können nicht erwarten, dass wir alle wissen, was Fehler 2501 bedeutet.
Tom_van_Stiphout
Mar 25, 2023Steel Contributor
Oh, but we do.
(in the Immediate window)
?AccessError(2501)
The | action was canceled.@You used a method of the DoCmd object to carry out an action in Visual Basic, but then clicked Cancel in a dialog box.
Typically this happens when an event procedure like Report_Open has its Cancel argument set to True. The OP should check their code.
(in the Immediate window)
?AccessError(2501)
The | action was canceled.@You used a method of the DoCmd object to carry out an action in Visual Basic, but then clicked Cancel in a dialog box.
Typically this happens when an event procedure like Report_Open has its Cancel argument set to True. The OP should check their code.