
AlexTZ
AlexTZ
About
- Username
- AlexTZ
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
Some mistakes: - you must specify the "Print on the band" option in each total (select "Data footer" band in which you print the total). In this case the total will reset after printing. - some totals were not set properly. For example, Org_Comple…
-
1) See the example report (you will not be able to run it because there is no data, just see an idea). It works fine. 2) Maybe you mean "TableSchema.TableName"? OleDb/Odbc connectors do not support it. 4) Newly added object uses the last formattin…
-
I've changed the code a little, it should work in the next build (it will be ready in 3 hours).
-
Sorry, it's not possible to do that in a single print job. You need several jobs (one with copies = 10, another with copies = 50 etc).
-
Since you need to sum values in different databands, you have to use several totals (one for each band), then sum totals. - add data band after the Data4 band, add footer to it. You will print totals here. The footer is needed to reset totals autom…
-
Hello, I need to look at your report. Please attach it here or send to tz@fast-report.com
-
I've viewed your .pdf file and see no garbage. Everything looks correct.
-
Could you send me a demo that demonstrates this error? tz@fast-report.com
-
Hello, 1) this is correct behavior. FastReport does not add anything to your SQL queries. If you need WHERE statement, you should add a query manually (see http://fast-report.com/documentation/UserM...tesqlquery.htm). Also you should define a pa…
-
It seems the code that calls the printer Properties window does not work on 64bit. I will try to find a solution.
-
You have renamed the dtOrgsummary.ParentId column to ParentDepartmentId, it causes the errors. - select Data2 databand and fix its ParentIdColumn property; - the relation between dtOrgsummary and dtLevelsummary datasources is not correct, you have…
-
Please correct the data and attach here, so I can proceed.
-
Hello, What is your PC configuration (OS/CPU/Memory)?
-
Hello, The summary format is wrong because your data is of String type. In this case the Sum function just concatenates strings. Make your data correct (all columns such as I/C, Mobile etc - must be of a numeric type, if you need to summarize the…
-
Hello, Something is wrong with your data, or SQL text is not correct. Are you able to view the data in the "Data" window (select the datasource and press the "View Data..." button)?
-
Hello, Probably you forgot to add this code in the Form_Load event handler: // restore the design layout. Without this code, the designer tool windows will be unavailable designerControl1.RefreshLayout(); see the Demos\C#\CustomDesigner de…
-
Hello, Please attach the prepared report file (.fpx, save from preview) or send it to tz@fast-report.com.
-
Hello, See my post regarding dynamic queries: http://www.fast-report.com/en/forum/?p=/discussion/6363
-
Use BindingSource component. But you will work with no data while designing a report. Why don't you like the solution described in my previous post?
-
Hello, The easiest way to create a new report with BO is to use run-time designer, just like in this demo. 1) add a button/menu item in your app ("design a report"); 2) write the following event handler for this button: Â Â Â Â Â Â // create …
-
Hello, You may use: 1) calculated column (set its DataType and Expression properies); 2) report parameter (set its DataType and Expression properies); 3) private/public method in the report script; 4) custom function from your application (yo…
-
Hello, FastReport supports business objects. See the demo: Demos\C#\DataFromBusinessObject
-
Hello, Delete the FastReport.Net configuration file. It can be found here: Windows XP: C:\Documents and Settings\user_name\Local Settings\Application Data\FastReport\FastReport.config Windows Vista: C:\Users\user_name\AppData\Local\Fa…
-
Hello, If you know the name of the query, you may use the following code: TableDataSource table = Report.GetDataSource("MyQuery") as TableDataSource; table.SelectCommand = "select * from ... ..."; You can put this code in the report script…
-
Ok, I see. Download the latest build and redesign your report a little: - move all objects from Data1 header to Data1 (above the data columns); - set Data1's StartNewPage and FirstRowStartsNewPage properties to true.
-
Hello, You should put data columns in the Data band only. All other bands such as report title, report summary etc may print wrong values because the datasource is in indeterminate state here.
-
The first problem is that you have to query the default printer about its default paper size. It must be done before running a report. It may take quite long time (upto 5sec even for the local printer, and even more for the network printer). The sec…
-
No, I did not noticed that. Which header (DataHeader1,DataHeader2,DataHeader3)? And where do you expect to see it?
-
Hello, Use the data footer band to display a summary info for the hierarchy item.
-
Hello, We plan to add such property in one of the next major builds. Now you may use the report script to set the page height. Make your report two-pass. Use the script to calculate the report height on the first pass, and set the page height on …