Search the Community
Showing results for tags 'fastreport'.
-
Hi all, In database is stored html content, which is possible to show Unidbgrid. Fastreports has very limited html support, and is not usable. I have checked also UniGridHtmlExporter, but also not get expected result. Idea is to convert html to plain text and use FR to crete PDF file. Any idea how to get plain text from html? Br, Marko
-
- fastreport
- html
-
(and 2 more)
Tagged with:
-
Hello I'm trying to pass value to variable at runtime but when I pass text the band is not displayed. In Fast Report using Unigui I define 3 variables: FromDate ToDate Title I use this function: function TfrDM.GeneraReportePDF(const RepName: string; Rep, Title: string; FromDate, ToDate: TDateTime): string; begin frxRep.PrintOptions.ShowDialog := False; frxRep.ShowProgress := false; frxRep.EngineOptions.SilentMode := True; frxRep.EngineOptions.EnableThreadSafe := True; frxRep.EngineOptions.DestroyForms := False; frxRep.EngineOptions.UseGlobalDataSetList := False; frxRep.LoadFromFile(UniServerModule.FilesFolderPath + 'Reportes\' + RepName + '.fr3'); frxPDFExport.Background := True; frxPDFExport.ShowProgress := False; frxPDFExport.ShowDialog := False; frxPDFExport.FileName := UniServerModule.NewCacheFileUrl(False, 'pdf', '', '', Result, True); frxPDFExport.DefaultPath := ''; frxRep.PreviewOptions.AllowEdit := False; frxRep.Variables['FromDate'] := FromDate; frxRep.Variables['ToDate'] := ToDate; frxRep.Variables['Title'] := Title; frxRep.PrepareReport; frxRep.Export(frxPDFExport); end; The frxRep.Variables['Title'] doesn't admit a text, I don't know why... I need your help. Thanks. I using Delphi 10.2 Unigui 1.90.0.1530
-
Добрый день! В отчет не подгружается данные из объекта "RichText". Может есть решение данной проблемы? или отказаться от использование "RichText". test.7z
-
Hello Friends... I am developing an UniGUI application that uses FastReport (frxReport & frxPDFExport components). The ISAPI App work properly in IIS 7.5 (Windows 7); But when I deployed my App on IIS 10 (Windows 10), when the App want to Exporting PDF, fully stopping working (Without any Exception). Exception is in this line: frxRreport.ExportPDF(frxPDFExport); This issue solve when I Using FastReport version 4; But I need higher version in my project (5 or 6). Notice: I give Full Permission to IIS directoy for IIS_USRS & IUSR; So PDF file created in Cache directory; But without any content (file size is 1 KB) and file still is in use.
- 1 reply
-
- fastreport
-
(and 2 more)
Tagged with:
-
How can this be done in c++? Can you give a c++ code sample? Thanks FastReport is a popular reporting tool for Delphi and C++ Builder. In the previous section we described general guidelines for using FastReport components in a uniGUI application. Some recent findings have shown that special care must be taken to ensure that FastReport runs in a compatible mode with uniGUI and its multi-threaded environment. Avoid using FastReport global dataset list Global dataset is a collection used by FastReport in VCL applications. This collection should be avoided in uniGUI, otherwise its use can lead to severe issues such as stack overflow and immediate server crash. In the previous section we mentioned that the following setting must be applied to avoid global dataset usage: Report.EngineOptions.UseGlobalDataSetList := False; // Do not keep a global list of a datasets Developers must make sure that this setting is applied right after the TfrxReport component is created. If your TfrxReport component is on a Form or a DataModule, uniGUI will provide a handy method to do this. Go to MainModule, click on the OnNewComponent event and add the following code: procedure TUniMainModule.UniGUIMainModuleNewComponent(AComponent: TComponent); begin if AComponent is TfrxReport then begin (AComponent as TfrxReport).EngineOptions.UseGlobalDataSetList := False; end; end; The previous code will ensure that each new instance of the TfrxReport component will have the correct setting for its UseGlobalDataSetList property. If you create the TfrxReport component in code, modify the setting manually: // always create TfrxReport component with an owner f := TfrxReport.Create(Self); try f.EngineOptions.UseGlobalDataSetList := False; f.EngineOptions.SilentMode := True; f.EngineOptions.EnableThreadSafe := True; f.EngineOptions.DestroyForms := False; f.LoadFromFile(UniServerModule.FilesFolderPath + RepName + '.fr3'); // generate report here finally f.Free; end;
-
Hello, we are using UNIGUI since one year. We need to know what reporting systems are working within UNIGUI: - SAP Crystal Reports (we use in other Applications) - Fast-Reports (we know, implement this - but too complicate for our Customers) - QuickReports - ReportBuilder - List And Label 1. Should be intuitive to design reports (without knowing DELPHI) 2. Must be work within UNIGUI 3. Must be work in LINUX environment as well, of course Windows and commen browsers 4. Must be able to create PDF reports 5. Must be able to implement Report specified prompts for Parameters 6. Must be able that user can define Reports by his own (or it's IT Team) May you have some recommendation's Regards Andreas -SysTek GmbH- , Germany
- 8 replies
-
- fastreport
- crystalreports
-
(and 1 more)
Tagged with:
-
Hi My Test case ,work when in stand alone and show my sample report. But when i convert it to ISAPI ,the report don't show. Best Regards.
-
I just realized FastReport Has a very useful tools for web report design. Can i Use FastReport Online Report Designer in uniGui web applications? Is it impossible Technically? I'm not use Fast Report.net . I use the fast Report 5 (Vcl) . Somebody has more information or any experience?
-
Hi, I get an error message, when i use Fastreport... "Klasse EOutOfResourcees: Nicht genug Timer verfügbar" The variable "Rechnungsadresse" created in ftxReport1 UniMainModule.FrxReport1.Variables.Variables['Rechnungsadresse'] := QuotedStr(UniMemo1.Lines.Text); UniMainModule.frxReport1.ShowReport(); Have you an idea? MfG Karsten
-
I have a serious problem with RichText. - I´m use XE5 with FR 5.3.9. - In the form, I put RichObject and the report put the RichText. The problem occurs when I print, gives the error "window handle is invalid." If I remove the report RichText, print normally. I have uninstalled it and I downloaded again, but the error persists. Would anyone tell me how to solve this? Eu tenho um sério problema com RichText. - Uso XE5 com FR 5.3.9. - No form, eu coloquei RichObject e no relatório coloquei o RichText. O problema ocorre quando eu vou imprimir, dá o erro: "identificador da janela é inválido." Se eu remover do relatório o RichText, imprime normalmente. Eu desinstalei e eu baixei de novo, mas o erro persiste. Será que alguém me dizer como resolver isso?
- 20 replies
-
- FastReport
- RichText
-
(and 1 more)
Tagged with:
-
Hy I use Fastreport to create PDF's from a UniGui-Application. Actuall I have the problem that I would like to bring the contents of a uniHTMLMemos in my "Fastreport" Pdf-Pages. BUT... https://www.fast-report.com/en/documentation/frx3user/Creating%20reports/HTML-tags%20in%20the%20%27Text%27%20object.htm You can see that the supported HTML-Tags are very limited. (Fonts, Size, Listings etc..) Now is my Idea, before create the Report print the content of my uniHTMLMemo to a Picture (.png, jpb..) and add this to my PDF Report. My questions: 1.) It is possible to save the content of a uniHTMLMemo(with the dimensions) to a picture at server-side? similarly: UniSession.AddJs(UniHTMLMemo10.jsname+'.iframeEl.dom.contentWindow.print();'); 2.) is there a possibility to get the HTML tags String in an image file? 3.) Does anyone have a better idea for my problem? Best regards
- 2 replies
-
- Fastreport
- uniHTMLMemo
-
(and 1 more)
Tagged with:
-
Hi, Not sure if this is the right area, so I appologise if not. I am trying to test this demo :- http://forums.unigui.com/index.php?/topic/2669-fastreport-demo/?p=21044 However I am having trouble with it. I have Delphi XE5 Enterprise with FastReports 4 installed. When I first load up the project it tells me about missing components (something to do with XML) When I try to compile I get this :- Checking project dependencies... Compiling Project1.dproj (Debug, Win32) brcc32 command line for "Project1.vrc" d:\develop\xe5\bin\cgrc.exe -c65001 "Project1.vrc" -foProject1.res dcc command line for "Project1.dpr" d:\develop\xe5\bin\dcc32.exe -$O- -$W+ true --no-config -M -Q -TX.exe -AGenerics.Collections=System.Generics.Collections; Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -Id:\develop\xe5\lib\Win32\release;"F:\My Documents\RAD Studio\12.0\Imports";d:\develop\xe5\Imports;"C:\Users\Public\Documents\RAD Studio\12.0\Dcp"; d:\develop\xe5\include;"D:\Develop\TMS\Component Pack";"D:\Develop\TMS\Component Pack\DelphiXE5";"D:\Develop\TMS\Component Pack\xlsAdapter"; "D:\Develop\TMS\Advanced Charts";"D:\Develop\TMS\Advanced Charts\DelphiXE5";D:\Develop\TMS\WebGMaps;D:\Develop\TMS\WebGMaps\DelphiXE5; D:\Develop\TMS\FlexCelVCLNT\Packages\dXE5\Win32\Release;D:\Develop\madshi\madBasic\BDS12\win32;D:\Develop\madshi\madDisAsm\BDS12\win32; D:\Develop\madshi\madExcept\BDS12\win32;D:\Develop\madshi\madExcept\..\Plugins\win32;D:\Develop\madshi\madKernel\BDS12\win32; D:\Develop\madshi\madSecurity\BDS12\win32;D:\Develop\madshi\madShell\BDS12\win32;e:\DXE2Addons\rtcSDK\Lib;e:\DXE2Addons\DIHTMLParserv7; e:\DXE2Addons\Utils;e:\DXE2Addons\NativeXML;D:\Develop\Framework\uniGUI;D:\Develop\Framework\uniGUI\uIndy;D:\Develop\Framework\uniGUI\ExtPascal; D:\Develop\Framework\uniGUI\CSSParser;D:\Develop\Framework\uniGUI\SynEdit\Source;D:\Develop\Framework\uniGUI\Dcu\Delphi2015; D:\Develop\Framework\uniTools;D:\Develop\Framework\uniTools\Dcu\Delphi2015;"C:\Program Files (x86)\FastReports\LibD19" -LE"C:\Users\Public\Documents\RAD Studio\12.0\Bpl" -LN"C:\Users\Public\Documents\RAD Studio\12.0\Dcp" -NSWinapi;System.Win;Data.Win;Datasnap.Win; Web.Win;Soap.Win;Xml.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Data.Win;Winapi; -Od:\develop\xe5\lib\Win32\release;"F:\My Documents\RAD Studio\12.0\Imports";d:\develop\xe5\Imports;"C:\Users\Public\Documents\RAD Studio\12.0\Dcp"; d:\develop\xe5\include;"D:\Develop\TMS\Component Pack";"D:\Develop\TMS\Component Pack\DelphiXE5";"D:\Develop\TMS\Component Pack\xlsAdapter"; "D:\Develop\TMS\Advanced Charts";"D:\Develop\TMS\Advanced Charts\DelphiXE5";D:\Develop\TMS\WebGMaps;D:\Develop\TMS\WebGMaps\DelphiXE5; D:\Develop\TMS\FlexCelVCLNT\Packages\dXE5\Win32\Release;D:\Develop\madshi\madBasic\BDS12\win32;D:\Develop\madshi\madDisAsm\BDS12\win32; D:\Develop\madshi\madExcept\BDS12\win32;D:\Develop\madshi\madExcept\..\Plugins\win32;D:\Develop\madshi\madKernel\BDS12\win32; D:\Develop\madshi\madSecurity\BDS12\win32;D:\Develop\madshi\madShell\BDS12\win32;e:\DXE2Addons\rtcSDK\Lib;e:\DXE2Addons\DIHTMLParserv7; e:\DXE2Addons\Utils;e:\DXE2Addons\NativeXML;D:\Develop\Framework\uniGUI;D:\Develop\Framework\uniGUI\uIndy;D:\Develop\Framework\uniGUI\ExtPascal; D:\Develop\Framework\uniGUI\CSSParser;D:\Develop\Framework\uniGUI\SynEdit\Source;D:\Develop\Framework\uniGUI\Dcu\Delphi2015; D:\Develop\Framework\uniTools;D:\Develop\Framework\uniTools\Dcu\Delphi2015;"C:\Program Files (x86)\FastReports\LibD19" -Rd:\develop\xe5\lib\Win32\release;"F:\My Documents\RAD Studio\12.0\Imports";d:\develop\xe5\Imports;"C:\Users\Public\Documents\RAD Studio\12.0\Dcp"; d:\develop\xe5\include;"D:\Develop\TMS\Component Pack";"D:\Develop\TMS\Component Pack\DelphiXE5";"D:\Develop\TMS\Component Pack\xlsAdapter"; "D:\Develop\TMS\Advanced Charts";"D:\Develop\TMS\Advanced Charts\DelphiXE5";D:\Develop\TMS\WebGMaps;D:\Develop\TMS\WebGMaps\DelphiXE5; D:\Develop\TMS\FlexCelVCLNT\Packages\dXE5\Win32\Release;D:\Develop\madshi\madBasic\BDS12\win32;D:\Develop\madshi\madDisAsm\BDS12\win32; D:\Develop\madshi\madExcept\BDS12\win32;D:\Develop\madshi\madExcept\..\Plugins\win32;D:\Develop\madshi\madKernel\BDS12\win32; D:\Develop\madshi\madSecurity\BDS12\win32;D:\Develop\madshi\madShell\BDS12\win32;e:\DXE2Addons\rtcSDK\Lib;e:\DXE2Addons\DIHTMLParserv7; e:\DXE2Addons\Utils;e:\DXE2Addons\NativeXML;D:\Develop\Framework\uniGUI;D:\Develop\Framework\uniGUI\uIndy;D:\Develop\Framework\uniGUI\ExtPascal; D:\Develop\Framework\uniGUI\CSSParser;D:\Develop\Framework\uniGUI\SynEdit\Source;D:\Develop\Framework\uniGUI\Dcu\Delphi2015; D:\Develop\Framework\uniTools;D:\Develop\Framework\uniTools\Dcu\Delphi2015;"C:\Program Files (x86)\FastReports\LibD19" -Ud:\develop\xe5\lib\Win32\release;"F:\My Documents\RAD Studio\12.0\Imports";d:\develop\xe5\Imports;"C:\Users\Public\Documents\RAD Studio\12.0\Dcp"; d:\develop\xe5\include;"D:\Develop\TMS\Component Pack";"D:\Develop\TMS\Component Pack\DelphiXE5";"D:\Develop\TMS\Component Pack\xlsAdapter"; "D:\Develop\TMS\Advanced Charts";"D:\Develop\TMS\Advanced Charts\DelphiXE5";D:\Develop\TMS\WebGMaps;D:\Develop\TMS\WebGMaps\DelphiXE5; D:\Develop\TMS\FlexCelVCLNT\Packages\dXE5\Win32\Release;D:\Develop\madshi\madBasic\BDS12\win32;D:\Develop\madshi\madDisAsm\BDS12\win32; D:\Develop\madshi\madExcept\BDS12\win32;D:\Develop\madshi\madExcept\..\Plugins\win32;D:\Develop\madshi\madKernel\BDS12\win32; D:\Develop\madshi\madSecurity\BDS12\win32;D:\Develop\madshi\madShell\BDS12\win32;e:\DXE2Addons\rtcSDK\Lib;e:\DXE2Addons\DIHTMLParserv7; e:\DXE2Addons\Utils;e:\DXE2Addons\NativeXML;D:\Develop\Framework\uniGUI;D:\Develop\Framework\uniGUI\uIndy;D:\Develop\Framework\uniGUI\ExtPascal; D:\Develop\Framework\uniGUI\CSSParser;D:\Develop\Framework\uniGUI\SynEdit\Source;D:\Develop\Framework\uniGUI\Dcu\Delphi2015; D:\Develop\Framework\uniTools;D:\Develop\Framework\uniTools\Dcu\Delphi2015;"C:\Program Files (x86)\FastReports\LibD19" -K00400000 -NB"C:\Users\Public\Documents\RAD Studio\12.0\Dcp" -NH"C:\Users\Public\Documents\RAD Studio\12.0\hpp" Project1.dpr [dcc32 Warning] W1030 Invalid compiler directive: 'true' [dcc32 Fatal Error] fs_isysrtti.pas(581): F2039 Could not create output file 'C:\Program Files (x86)\FastReports\LibD19\fs_isysrtti.dcu' Failed Elapsed time: 00:00:03.4 Am I missing something here ? I've never used FastReports before, but when I read that you can export PDF reports I wanted to see what it looked like. Do I need to install something else first ? Regards Anthoni