我是这样写的。
ReportForm.FFrBandView:=TFrBandView.Create;
ReportForm.FFrBandView.BandType:=btMasterData;
ReportForm.FFrBandView.DataSet:='QryResult';
ReportForm.FFrMemoView:=TFrMemoView.Create;
.........................
就是FFrMemoView 接下去不知怎么操作。?
ReportForm.FFrBandView:=TFrBandView.Create;
ReportForm.FFrBandView.BandType:=btMasterData;
ReportForm.FFrBandView.DataSet:='QryResult';
ReportForm.FFrMemoView:=TFrMemoView.Create;
.........................
就是FFrMemoView 接下去不知怎么操作。?
解决方案 »
- 听说用While循环一个DataSet很慢?
- SQLServer数据库字段设为何种类型,才能被DBCheckBox正确显示?
- 如何让XPMenu 下的Button背景变色?
- 求控件InfoPower4000Std_vcl7.exe的安装密码
- delphi没学好又想学java各位给个意见!
- 请问select 出来的合计值怎么显示到dbtext中或dbgrid中?
- 为什么recordcount突然不能用了?
- 貌似简单的难题
- 一个简单的问题,以及Pascal语言的学习
- 如何让应用程序在Windows95关闭时自动关闭
- 关于DBGridEH控件的使用问题。
- 如何测试ADOconnection连接数据库时是否连接成功?
下载地址:http://www.delphibyte.com/download/softdown.php?softid=111&url=http://61.132.118.165/soft/delphi/Delphi/uestc/Delphi/fr.zip
v: TfrMemoview; v := TfrMemoview(frCreateObject(gtMemo, '')); //创建序号
v.SetBounds(Gaps, iTitleTop-2, OrderWidth, mHeight);
v.Memo.Add('序号');
v.Alignment:= 0;
FRReport.Pages.Pages[0].Objects.Add(v); v := TfrMemoview(frCreateObject(gtMemo, '')); //创建序号的数据
v.SetBounds(Gaps, bDataTop+2, OrderWidth, mHeight);
v.Memo.Add('[LINETHROUGH#]');
v.Alignment:=2;
FRReport.Pages.Pages[0].Objects.Add(v); v := TfrMemoview(frCreateObject(gtMemo, '')); //创建Fields的名字
v.SetBounds(iWidth, iTitleTop+BandHeight*iCount-2, pDataDict[i].iPrintWidth,
mHeight);
v.Memo.Add(pDataDict[i].sAliasName);
v.Alignment:= 2; //taCenter
FRReport.Pages.Pages[0].Objects.Add(v); v := TfrMemoview(frCreateObject(gtMemo, '')); //创建Fields的数据
v.SetBounds(iWidth, bDataTop+BandHeight*iCount+2,
pDataDict[i].iPrintWidth, mHeight);
if pDataDict[i].Alignment=taLeftJustify then v.Alignment:=0;
if pDataDict[i].Alignment=taRightJustify then v.Alignment:=1;
if pDataDict[i].Alignment=taCenter then v.Alignment:=2;
v.Flags:= v.Flags-flHideZeros; //设置HideZero=false
v.Memo.Add('[DSetDetail."'+pDataDict[i].sFieldName+'"]');
FRReport.Pages.Pages[0].Objects.Add(v);