
ipong
ipong
About
- Username
- ipong
- Joined
- Visits
- 482
- Last Active
- Roles
- Members
Comments
-
I have tried your method, success : 1. add referenced assemblies in fastreport designer, menu report => options => script => add => in my case, x86 system, C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\…
-
I'm afraid you can't, you need a location (full path) in the server in order to set picture location, not virtual directory (../image/). To get full path, use function Server.MapPath in webform, or HttpContext.Current.Server.MapPath in MVC. if yo…
-
you need 2 databands : 1. first databand, a query to join Practitioner and Claim, say 'A' 2. second databand, a query to join ClaimDetails and ClaimType, say 'B' design an interactive report, look at demo from fastreport. Report with subreports…
-
in my previous answer : 1. dot net style as datasource 2. convert virtual table to dotnet style, for your case, datatable, because it can create columns on the fly, detect datatype for each field in virtual table with typeof operator, typeof(int),…
-
i don't get it.... 1. user creates a query in personal query builder, he/she knows the table structure of mysql database 2. app reads the result of the query, put into memory/virtual table 3. fastreport needs .net style memory table, such as busi…
-
i use google to translate your picture of errors, but the popup error can't tell a story. My guess: 1. IBM Data Server Provider for .NET instead of FastReport.DB2.dll 2. learn how to push datasource from .net code to fastreport 3. resolve complex…
-
you need FastReport.DB2.dll only if fastreport designer directly connect to database (you create datasource in fastreport designer) alternatively, make sure "IBM Data Server Provider for .NET" is working, try to connect dotnet application to db2,…
-
if you have fixed field, query is the answer : SELECT aaa AS field1, bbb AS field2, ccc AS field3 no problem with fastreport, but we are talking dynamic field, i think spreadsheet is the answer
-
the latest release of fastreport, new features have been added : Version 2017.1 [Core] + added possibility to set picture location (URL) in PictureObject from database (I have not try this version) + ..... if you use old the version of fa…
-
you may try, but..... the point is, use hyperlink expression in a textobject to execute javascript, for example : Â Â Â Â var btnOpenDrilldownReport = function (event) { Â Â Â Â Â Â Â Â window.open("/secondreport.aspx", "_blank"); Â Â Â Â };
-
1. LINE OBJECT use textobject and border property as workaround, in fastreport user manual, stated : If possible, use the object's border instead of "Line" object. This will simplify the report and avoid possible problems with the export to dif…
-
dataset is a container, contains one or more datatable, make it simple, get data from database and put into datatable. in your frx file : TableDataSource with referencename = "DocumentType", it means referring to datatable with a name = Documen…
-
(1) RegisterData You mixed datasource in designer with datasource from code. open DocTypeListWithDs.frx with notepad, find the connection string, remove it. make sure the dictionary node in frx file, for example (adjust column name to your da…
-
dotnet version is not the issue, i use fastreport .net2 in .net4.5 application. debug the application and check datasource.
-
read http://www.fast-report.com/en/forum/?p=/discussion/13836
-
follow the pattern as instructed by fastreport, never use event for registering data. in my case, when i click a button, execute this method : assuming desktop application and already declared fastreport previewcontrol (internal FastReport.Pre…
-
i think you must change your strategy to achieve your needs. i am talking about desktop application, UI thread is a class that creates an instance of fastreport class, fastreport script is another class and work as plugin in and internally used b…
-
open frx file in report designer, right click on desired textobject and select 'format -> number', uncheck 'use locale settings'
-
read FRNetProgrammerManual-en.pdf for registering data
-
what are you trying to do? change script from code?
-
see http://www.fast-report.com/en/forum/?p=/discussion/13644 use menu 'view in designer window to open properties, data, report tree
-
yes, this must be bug in asp.net, lineobject is also not showing when print using "print from browser". as workaround, i use textobject and border to replace lineobject
-
take a look at FastReport.SqlCe.csproj (in folder Extras\Connections\FastReport.SqlCe), you should change reference include to SQLCE 4.0
-
I learn something new from your question, "scripting". If there is an error in the script, compiler generates error "..... is not part of the current context." using System.CodeDom.Compiler; using System.Reflection; Â Â Â Â Â Â Â Â private void…
-
Do not use report designer to create datasource. All you have to do : 1. You have blank frx file as a template, open designer.exe , save as blank_report.frx 2. Create a code in .net application using (OleDbConnection cnn = new OleDbConnec…
-
There are two methods for calculated columns : 1. in textobject, the formula is enclosed by square brackets, create expression like this : EXIST.STKREAL] + [EXIST.QTDENCFOR] - [EXIST.QTDENCCLI 2. use script, more flexible, with c# you can…
-
read FRNetUserManual-en.pdf, script section and example, is that what you wanted?
-
in .net 4.0 : you can use Tasks Factory in .net 2.0/3.5 : you can use threadpool public void RunInBackground() { Â Â Â Â System.Threading.ThreadPool.QueueUserWorkItem(DoSomething); } private void DoSomething(object stateInfo) { Â Â Â Â //runni…
-
if you're using dotnet 4.5, use async await for long running task private async void createPDFandEmail() { Â Â Â Â await Task.Run(() => Â Â Â Â { Â Â Â Â Â Â Â Â //FASTREPORT CODE Â Â Â Â }); }
-
change sort order via script (in frx file) : 1, suppose you have 2 textobject, text1 and text2 in databand 2. text1 bound to column [AccCode] and text2 bound to column [AccName] 3. create click event     private void Text1_Click(object sen…