fastreport

How to show data at Fast Report in 3*3 grid format?

a 夏天 提交于 2019-11-29 12:40:23
I want to display data from table (column :- ID) at FastReport in Grid format as shown below. Suppose there are 22 records in table then it would display same in 3 * 3 grid at FastReport in following manner. I am using subreport at main page inside MasterData1 band. At subreport MasterData band is as follows MasterData1 band TfrxReportPage1 - Columns 2 Subreport - MasterData2 properties Columns 3 , RowCount 9 But when I previewed fast report it is just repeating same data in each grid on page as follows I am using frxDBDataSet1 to display data (Number Of Records 9). There are in total 28

FastReport

左心房为你撑大大i 提交于 2019-11-29 04:38:37
delphi2010中FastReport的安装方法 一,准备工作。 1.1安装Delphi2010。 1.2获得FastReport 4.9.31。 二,FastReport文件夹下LibD14目录添加到Delphi中的Library Path 步骤:1,打开Delphi2010,打开菜单Tools->Options。 2,左侧点击Delphi Options的+号,点击Library-win32 3,在右侧框中找到Library Path,将FastReport->LibD14路径粘贴至该文本框的末尾,粘贴之前输入分号(;)。 三,生成FastReport汉化文件 步骤:1,运行"recompile.exe"文件,设置相应选项,我的设置如下: 1,Select the compiler 设置为 Embarcadero Rad Studio 2010(Delphi,C++)。(默认值) 2,Select the FastReport Version 设置为 Enterprise。(默认值) 3,Select the TeeChart version 设置为 TeeChartStd。(默认值) 4,What you want to do 下的 Change language To: 设置为 Chinese 。(自己选择) 四,编译运行时包。 步骤:1,在Delphi中打开(File

FastReport 使用技巧篇

柔情痞子 提交于 2019-11-29 01:43:44
FastReport 使用技巧篇 使用技巧篇 1.FastReport中如果访问报表中的对象? 可以使用FindObject方法。 TfrxMemoView(frxReport1.FindObject('memo1')).Text:='FastReport'; 2.FastReport中如何使用上下标? 设置frxmemoview.AllowHTMLTags:= True;在Text输入如下 上标:mm<sup>2</sup> 下表:k<sub>6</sub> 举一反三,你还可以使用其他HTML标记。 3.FastReport中如何打印总页数? 设置两次报表后加入引号内内容 "第[Page#]页共[TotalPages#]页" 4.FastReport中如何动态加入 变量 及变量组? 建立变量组名 frxreport1.Variables.Add .Name:=' '+变量组名; 建立变量名 frxreport1.Variables.AddVariable('组名,如果为不存的组或空,则为默认组,这里不需要 空格',变量名,变量初始值); 例如要建立变量组Yuan,二个变量Yuan1,Yuan2,则为 frxreport1.Variables.Add .Name:=' Yuan'注意前面是空格 frxreport1.Variables.AddVariable('Yuan'

How to show data at Fast Report in 3*3 grid format?

北战南征 提交于 2019-11-28 06:52:28
问题 I want to display data from table (column :- ID) at FastReport in Grid format as shown below. Suppose there are 22 records in table then it would display same in 3 * 3 grid at FastReport in following manner. I am using subreport at main page inside MasterData1 band. At subreport MasterData band is as follows MasterData1 band TfrxReportPage1 - Columns 2 Subreport - MasterData2 properties Columns 3 , RowCount 9 But when I previewed fast report it is just repeating same data in each grid on page

Delphi PDF generation [closed]

一曲冷凌霜 提交于 2019-11-28 04:46:48
We're using Fast Reports to create reports but we're not very happy with the quality of the PDFs it creates. I know we can plug in other PDF components instead of the one that comes with FastReports so my question is What good PDF components are there out there (Free or Commercial) for Delphi? Ideally it should not require any dlls. Edit: I bought Gnostice in the end as it had the FastReports integration, source available and a fairly good reputation. I did however find an issue (after I had bought it) with exporting multipage reports from FastReports to PDF where the component leaks memory

Delphi PDF generation [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 05:26:17
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . We're using Fast Reports to create reports but we're not very happy with the quality of the PDFs it creates. I know we can plug in other PDF components instead of the one that comes with FastReports so my question is What good PDF components are there out there (Free or Commercial) for Delphi? Ideally it should

FastReport分页和空行填充

≯℡__Kan透↙ 提交于 2019-11-26 17:55:07
0.在FastReport 4.X版本通过。 1.添加两个Band 一个是主数据和CHild(与主数据一样的空白带格子)。 2.生成Page事件。 3.添加代码。 var aa:Integer; maxRow:Integer; procedure Page1OnManualBuild(Sender: TfrxComponent); var DataSet: TfrxDataSet; begin aa:=1; DataSet := MasterData1.DataSet; DataSet.First; while (not DataSet.Eof) or ((aa-1) mod MaxRow<>0) do begin if DataSet.Eof then Engine.ShowBand(Child1) else Engine.ShowBand(MasterData1); DataSet.Next; aa:=aa+1; if (((aa-1) mod (MaxRow)=0) and (not DataSet.Eof)) then EngIne.Newpage; end; end; begin maxRow:=15; //每页最大行数 end. 来源: http://www.cnblogs.com/MaxIE/archive/2009/10/30/1592830.html