Usersite
»
UserSite SI
»
Naročila
»
Ares Export Report v PDF
Rank: Newbie
You have been a member since:: 01/02/2021(UTC) Posts: 3
|
Spoštovani,
Potrebujemo ARES skript ali funkcijo za neposreden izvoz poročila FastReport report iz Pantheona v datoteko PDF brez preview in save file dialog. Na angleškem forumu je lani nekdo objavil funkcijo PrintExportToFile, za katero menim, da naredi tisto, kar potrebujemo, vendar priloga ne obstaja več.
Hvala naprej in lep pozdrav, Stefan
|
|
|
|
Rank: Datalab
You have been a member since:: 24/04/2009(UTC) Posts: 403
|
Zdravo,
v priponki vzorčni ares za izvoz računa v PDF. Koda je:
uses SysUtils, Classes, Forms, Dialogs, dlForms, dlDatabase, dlComponents;
var Form: TMainModalForm;
begin try Form := dlFindDocTypeForm(GetDocTypeFromKeyView('1930000000001')); Form.PrintExportToFile(Form,'c:\temp\racun.pdf','1930000000001','241'); finally FreeAndNil(Form); end; end.
Na voljo pa je tudi funkcija, ki omogoča izvoz izpisa. Tu so parametri šifra izpisa in SQL poizvedbe:
procedure arExecutePrintExport(AcKey: string; ASQL: string; ASQLheader: string; ' + 'AFileName: string; AUpperCase: Boolean = False; ALog: Boolean = False; ' + 'APreserveEvents: Boolean = False; APrintOptimized: Boolean = False);
SimonKlemen
|
|
|
|
Rank: Datalab
You have been a member since:: 24/04/2009(UTC) Posts: 403
|
Priponka. Handles attachments  A000000 - Izvoz računa u datoteku.zip (3kb) downloaded 23 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Usersite
»
UserSite SI
»
Naročila
»
Ares Export Report v PDF
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Orange-Grey Theme Created by Ingo Herbote (WatchersNET.de)Powered by YAF 1.9.6.1 Under DNN |
YAF © 2003-2025, Yet Another Forum.NETThis page was generated in 0,466 seconds.