FR3 to FRX
Hi,
I have FR3 reports created with VCL 5 that I want to use with .NET. They all point to an explicit DataSet, from Delphi. I ran the fr3tofrx.exe conversion. I can open the FRX file in Visual Studio and edit it as an XML. fr3tofrx.exe does not convert the DataSet. What changes do I need to make to the FRX to point it to the .NET data source?
Thanks,
David
I have FR3 reports created with VCL 5 that I want to use with .NET. They all point to an explicit DataSet, from Delphi. I ran the fr3tofrx.exe conversion. I can open the FRX file in Visual Studio and edit it as an XML. fr3tofrx.exe does not convert the DataSet. What changes do I need to make to the FRX to point it to the .NET data source?
Thanks,
David
This discussion has been closed.
Comments
and the frx file will automatically add :
fr.net internally process :
1. TableDataSource => push datatable/dataset to fastreport, or
2. BusinessObjectDataSource => push bussiness object or array to fastreport
If I call report.RegisterData(dataSet); or report.RegisterData(dataSet, "fsData");
I get errors that "(fsDataBillCity): Error CS0103: The name 'fsData' does not exist in the current context." The same thing happens if I manually add the dictionary to the FRX file. Do I need to change something else?
Thanks.
1. in data source : TableName.FieldName, and
2. in textobject : [Employees.ID] => tablename = Employees and fieldname = ID
How should I rewrite that for FRX?
Is that correct for the DataSource? Do I need to changed the properties on the TextObject?
Thanks,
David
and the frx file
Where can I Download fr3tofrx.exe, could you help me please.
http://www.fast-report.com/pbc_download/files/fr3tofrx.exe
I cannot download that please help me! :)
https://www.fast-report.com/pbc_download/fr3tofrx.exe
Hello!
How to customize a converted .frx file for .NET:
Pass the DataSet or DataTable in the code and open the template in the designer (report.RegisterData(ds, “Employees”); report.Design();), or manually replace the <Dictionary> block in the .frx file with <TableDataSource Name="Employees" ...><Column Name="ID" DataType="System.Int32"/>...</TableDataSource> (for collections of objects, use <BusinessObjectDataSource>).
Replace the table names in the fields and in DataBand.DataSource with the new name (for example, [Employees.ID]), and enable the data source when running the report: report.GetDataSource(“Employees”).Enabled = true;