Default Avatar

ipong

ipong

About

Username
ipong
Joined
Visits
482
Last Active
Roles
Members

Comments

  • To display picture programmatically, i tried this code below (and success) in your .net : using (DataTable dt = new DataTable()) {     dt.Load(dr);     dt.TableName = "MainReport";     byte[] yourpic = System.IO.File.ReadAllBytes(@"D…
  • use overlay band, put lines in there
  • try to recreate fastreport class instance : FastReport.Report Report1 = new FastReport.Report();         '**************         Dim Report1 as new FastReport.Report()          '**************         Report1.Dictio…
  • i think you should use subreport. in the main report (main.frx), create hyperlink and create script in main.frx to execute a function in .net application. since class is singleton, use mvvm light to communicate between classes (class in fastrepor…
  • Record filtering should be done in query, not fastreport. Sorry, I don't have exact example, never use entity framework, but you may get the idea. My scenario is using AJAX to call webAPI. In businessobject class :     Public Class myRepo…
  • this code from my old webform project, hope this helps WebReport1.report.Load(Server.MapPath("~/Reports/FastReport/rptAlunosDataNascimento.frx")) WebReport1.Report.Report.RegisterData(dataSource, "ObjectDataSourceReport") WebReport1.Report.Report.…
  • in my case, works charmly. which version do you have?
  • just for sharing, i use fastreport in a different scenario, WebAPI. Imports System.Net Imports System.Net.Http Imports System.Net.Http.Headers Imports System.Web.Http Imports System.Data.SqlClient Imports System.Web.Configuration Namespace API  …
  • read http://www.codeproject.com/Articles/739164...l-for-Beginners pull data from entity object, convert to list, please note that List implements the IEnumerable interface for fastreport, there is an example in c# => DataFromBusinessObject
  • yes, but no UI designer, read this https://msdn.microsoft.com/en-us/library/ms...(v=vs.100).aspx
  • Compiler error, if you are trying to compare object. Make sure [cost] is from datasource and proper datatype which is support operator >
  • There is no problem with syntax Beginning_Depreciation] + [Depreciation Beware with datasource, if your data source is MainReport then it should be : MainReport.Beginning_Depreciation] + [MainReport.Depreciation I think you miss 'datasource do…
    in Sum Comment by ipong May 2016
  • In 'ending' textobject, try this expression : Beginning_Depreciation] + [Depreciation
    in Sum Comment by ipong May 2016
  • BobV365 wrote: » I am using FastReport VB.Net. I have created a simple report with several columns: Beginning Depreciation, Depreciation, and Ending Depreciation. I want to have the total of Beginning Depreciation plus Depreciation appear in the…
    in Sum Comment by ipong May 2016
  • from msaccess vba, use shellexecute (https://msdn.microsoft.com/en-us/library/windows/desktop/bb762153(v=vs.85).aspx) to run dotnet program. you could shellexecute to pass parameters. and dotnet program contains this code:            …
  • Found it, not properly aligned because 'line height' property in text object, see frx file.
  • Finally solved.... in web application, we must use FastReport.Web.WebReport class instead of FastReport.Report. Using rpt1 As New FastReport.Web.WebReport Using rpt2 As New FastReport.Web.WebReport