![](/forum/profile/get-photo.asp?memberid=27&type=profile&rnd=376) Elite Veteran
Beiträge: 857
![500](http://donkarl.com/forum/images/decorations/multiple/500.gif) ![100](http://donkarl.com/forum/images/decorations/multiple/100.gif) ![100](http://donkarl.com/forum/images/decorations/multiple/100.gif) ![100](http://donkarl.com/forum/images/decorations/multiple/100.gif) ![25](http://donkarl.com/forum/images/decorations/multiple/25.gif) ![25](http://donkarl.com/forum/images/decorations/multiple/25.gif) Ort: Wien | Kanne - 29.08.12
...
Wenn man aber erst nach Zuordnung des Report.Printer dort die Einstellung ändern kann:
dann müsste man ja für die Übernahme der Einstellungen des Berichtsdruckes
für jede Einstellung eine Variable für die "Zwischenspeicherung" definieren
Also zB:
'sichern:
tmpOrientation = Reports(sBerichtsname).Printer.Orientation
tmpTopMargin = Reports(sBerichtsname).Printer.TopMarging
...
Reports(sBerichtsname).Printer = DSTdrucker
'zurück:
Reports(sBerichtsname).Printer.Orientation = tmpOrientation
Reports(sBerichtsname).Printer.TopMarging = tmpTopMargin
... was ein Aufwand !
Naa, du brauchst weder etwas zu speichern noch zurückzusetzen. s. z.B.
http://social.msdn.microsoft.com/Forums/de-AT/accessde/thread/4a51f...
----- Servus
Karl
*********
Access-Entwickler-Konferenz: https://www.donkarl.com/?aek
Access DevCon Vienna: https://www.donkarl.com/devcon
Access Forever: https://www.accessforever.org
Access News: https://www.youtube.com/playlist?list=PLVCeBbJIMDvdJ8ghMbEakJ6_EQyvy... |