请教各位大侠,用rave怎样做一个数据来源于stringgrid的报表。不能使用rvDataSetconnection,不知怎样弄。望能给出代码。(最好不用建立一个临时表来保存StringGrid的数据)
解决方案 »
- ******关于排序的算法,如何让动态生成Panel乱排?有点类似以前玩的拼图游戏似的,把一个正常的图打乱 *****
- 怎么确保用TImage.Canvas‘写字’时每个字的宽和高都占用8个象素?
- 流媒体服务器的实现
- 讨论一下:数码相机采集的影象如何实时保存到数据库
- 高分求教关于dbgrid显示的问题??
- 求教dll 动态事件传递问题
- 跪求indy http如何向服务器输入用户密码?一直在线等,直到解决,先谢了。
- 求救(关于块的读写)!
- ado的常见错误!'Either bof or eof is true,or the current...'
- USB开发经验,在那里有相关书籍?
- 如何用adotable往Microsoft Access中更新某一条记录的某个字段的值?
- 求助,关于messagedlg()
const
XWidth = 0.5;
YWidth = 0.2;
var
i, j : integer;
begin
with Sender as TBaseReport do
begin
SetFont('Arial', 15); //设定字体
//度量衡由SystemPrinter.Units决定,缺省为Inches
//也可通过SystemPrinter.UnitsFactor 来调整比例因子
for i:=0 to stringgrid.RowCount -1 do
for j:=0 to stringgrid.colcount -1 do
begin
GotoXY(j*XWidth +1,i*YWidth +1); //设定输出位置
Print(stringgrid.Cells[i,j]); //输出文字
end;
end;
end;
http://community.csdn.net/Expert/topic/3789/3789549.xml?temp=.4723627
NewPage;