FastReport | Free Open Source Reporting tool for .NET6/.NET Core/.NET | Dashboard library
kandi X-RAY | FastReport Summary
kandi X-RAY | FastReport Summary
FastReport provides free open source report generator for .NET 6/.NET Core/.NET Framework. You can use the FastReport Open Source in MVC, Web API, console applications.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of FastReport
FastReport Key Features
FastReport Examples and Code Snippets
Community Discussions
Trending Discussions on FastReport
QUESTION
I use FastReport .Net Designer to create .frx file with all my Report definition, and then I load it to my c# code, I added a Map Object, I did run the Preview and the map is shown well.
But when I tried to load the .frx file from my c# code it throw the "Can't find Map object" exception.
My solution is .net4.7 and I'm with the latest FastReport Nuget package.
Note that once I remove the Map object it back to working good, the .frx is well loaded to my c# code and all is working (without a map of course)
My c# code which throw the exception:
...ANSWER
Answered 2022-Jan-04 at 15:13This is because you are probably using the free NuGet Package FastReport.OpenSource.Export.PdfSimple. PdfSimple is exporting the PDF pages as images which causes some limitations as well as the Map issue you mentioned. In order to solve your issue, you need to purchase and use the full FastReport.Net version. you can download the trial NuGet Package FastReport.Net.Demo and see that it will solve your issue.
QUESTION
Trying to use fastreport opensource version to prepare and export a report to pdf Using Microsoft Sql Server database as datasource for it My code seemingly connects to the database and is able to fill the datasource so most likely the problem is somewhere in the code that creates the report itself , but i dont exactly see where it could happen
Exception occurs in report.Prepare(); and the line after it
...ANSWER
Answered 2021-Dec-26 at 16:00And i managed to fix it Basically the cause for that error was using the wrong type of sqlconnection Reworked the code from this
QUESTION
I have an existing ASP.NET Core 5 MVC app which is built with .Net 5 in VS2022. I added the nuGet packages FastReport.OpenSource.Web (2021.4.15), FastReport.OpenSource (2021.4.15) and FastReport.OpenSource.Data.MsSql (2021.4.0).
However, the following code fails to compile:
...ANSWER
Answered 2021-Dec-06 at 20:18FastReports has released a new version (2022.1) that has fixed this issue. Kudos to them for responding quickly.
QUESTION
In Delphi program I use ExtractFileDir function for getting parent folder and this code works correctly:
...ANSWER
Answered 2021-Jan-18 at 16:55I have a function which absolutize a relative path. To absolutize a path, you need to know the base path.
I the case of Delphi you show, the paths are relative to the project directory.
Once you have an absolute path, you can apply ExtractFilePath several times to go up in the directory levels.
Let's take an example: You have a relative path "....\SomeFile.txt". This path is relative to the base path "C:\ProgramData\Acme\Project\Demo". The complete path is: "C:\ProgramData\Acme\Project\Demo....\SomeFile.txt". Then the absolute path result of AbsolutizePath will be "C:\ProgramData\Acme\SomeFile.txt".
Note that Absolutize path take care of ".." (parent directory), "." (Current directory) and drive specification (Such as C:).
QUESTION
I'm using Delphi to develop a desktop database application, and I've an invoice report made with FastReport, I know that I can use InvoiceReport.ShowReport
to show it's preview.
So I need to know how I can show the print dialog automatically just after showing the preview.
The user then can print it or cancel the dialog
ANSWER
Answered 2021-Jan-11 at 09:39Call PrintDialog1.Execute
right after InvoiceReport.ShowReport
.
QUESTION
I'm drawing my C# object model on controller and send it to Konva.js
on the front end. And people can see my image as a canvas. No problem with these steps. Now I want to show my image on reports using fastreport
. But I'm drawing canvas on runtime. How should I draw it on C# side and store it to show on reports?
ANSWER
Answered 2020-Dec-10 at 08:38I've solved problem using base64string. I created base64string after konva's canvas create method. Saved base64string to database and when i want to use it on fast report, i converted to image file.
QUESTION
I am exporting a FastReport as PDFFile using TfrxPDFExport. I made a function that returns me a PDF as IStream:
...ANSWER
Answered 2020-Jan-29 at 17:39You do not need to save the TMemoryStream
to a file just to attach it to an email. Indy's TIdMessage
component is flexible in the types of data you can attach to it.
For instance, Indy has a TIdAttachmentMemory
class you can use, eg:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install FastReport
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page