
AlexTZ
AlexTZ
About
- Username
- AlexTZ
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
Hello, There are report parameters and query parameters. You may map a query parameter to a report parameter: http://www.fast-report.com/documentation/U...passvalueto.htm
-
Hello, Sorry, there is no way to do this.
-
Hello, Use the following code (may be in the Report.StartReport script event): TableDataSource table = Report.GetDataSource("MyTable") as TableDataSource; table.SelectCommand = "select * from ...";
-
Yes, it is possible. You may hide/show objects from the script, move it or resize.
-
Hello, Select a table row and set its AutoSize property to true. http://www.fast-report.com/documentation/U...ctrowsizing.htm
-
Ok, it's a bit tricky. You need to use the script to do this. See the attached report example, you can run it from Demo.exe.
-
Could you attach your report file here?
-
Ok, try to use the following code in the data band's BeforePrint handler: Â Â Â Â private void Data1_BeforePrint(object sender, EventArgs e) Â Â Â Â { Â Â Â Â Â Â if (Data1.RowNo > 1 && ((Data1.RowNo - 1) % 15) == 0) Â Â Â Â Â Â Â Â E…
-
Hello, Please check this: http://www.fast-report.com/documentation/U...temptybands.htm
-
Hello, You may use the code attached to the band's AfterLayout event: if (myBand.Height > Units.Centimeters * 10) myBand.Height = Units.Centimeters * 10;
-
Hello, We will try to solve this.
-
This way it should work: a text object (Name:"Text1", Text:"[Barcode1]") a code to set the param value: FastReport.Report rpt = new Report(); rpt.Load("Label.frx"); rpt.SetParameterValue("Barcode1",textBox1.Text); rpt.Show(); or, anothe…
-
Here is an example attached. Note the Row1.KeepRows = 2; line in the script.
-
Hello, To print a parameter's value in the Text object, put the following text in it: [Barcode1] This code will set the parameter value and run a report: FastReport.Report rpt = new Report(); rpt.Load("Label.frx"); rpt.SetParameterValue("B…
-
Put it in the text object where you need to print this value. http://www.fast-report.com/documentation/U...T-en/totals.htm
-
Hello, You may print the total value in the following way: total] + [initialvalue where initialvalue is the report parameter containig initial value.
-
ЗдравÑтвуйте, ПроÑто зарегиÑтрируйте Ñвой BindingSource в качеÑтве иÑточника данных: report.RegisterData(b_Source, "Name"); и иÑпользуйте Ñтот иÑточник в от…
-
You register the DataTable with some name -> FastReport creates the TableDataSource with Alias property set to this name. The TableDataSource uses data from your DataTable.
-
Hello, What is the problem with datasource? It should work. You may either use datasources defined in a report, or register them via report.RegisterData method.
-
Hello, You may speed up the report by setting the master data band's PrintIfDetailEmpty property to true. wrote: The problem seems to be that all the Details rows are retrieved and filtered by the report on the relatation at the end. Y…
-
Another way is to print a table using regular Data band with Text objects on it. In this case you may use the data header band with "KeepWithData" option.
-
The new version will be available tomorrow. It allows to use the opened connection.
-
I'm afraid it's not possible. I will try to modify our code to allow use of existing application connection object instead of creating its copy. I will let you know in this thread.
-
Hello, The keep mechanism is not working because the table object genegates own bands when printed. You may add the header to the table object and tell the header to keep with at least one data row.
-
Hello, Try to use full path to report file, like this: ... report.Load(@c:\yourapp\inherited.frx); ...
-
Hello, If a report has several datasources, most probably that they are all used in the report. For example, the report may have two top-level databands connected to two different datasources, or it may be a master-detail report.
-
Hello, Use the header's property KeepWithData.
-
Hello, Could you send me the report file (.frx) and the prepared report (.fpx, save from preview) to tz@fast-report.com?
-
Hello, In the text object, you should use the Korean font instead of Arial.
-
Sorry, it's not possible to get exactly the same result.