Autor Beitrag
rob87
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 461

Win Me, Win XP Home, Win XP Prof
Delphi 2007 Enterprise
BeitragVerfasst: Mo 29.09.08 12:35 
Hallo zusammen,

ich möchte, dass mein RaveReports automatisch eine Pdf-Datei in einem vorgegebenen Folder abspeichert.

Weiß jemand wie das funktioniert?


Moderiert von user profile iconNarses: Topic aus Internet / Netzwerk verschoben am Mo 29.09.2008 um 14:15
rob87 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 461

Win Me, Win XP Home, Win XP Prof
Delphi 2007 Enterprise
BeitragVerfasst: Mo 29.09.08 14:33 
Hab nun mal bissal rumgetüftelt und habs selbst hinbekommen.

Für alle anderen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
    RP1.Open;
    RS1.DefaultDest := rdFile;
    RS1.DoNativeOutput := false;
    RS1.RenderObject := RvRenderPDF1;
    RS1.SystemSetups := RS1.SystemSetups - [ssAllowSetup];
    RS1.OutputFileName := 'test1.pdf';
    RP1.Execute;
//RP1 ist vom Typ RvProject und RS1 vom Typ RvSystem