X xcxlw Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-08 #1 fastreport中有个tfruserdataset控件,帮助中说可以用它来链接非数据库的数据源,比如 说stringgrid,可是如何把fruserdataset同stringgrid链接?
娃 娃娃 Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-09 #4 其实不用你说的那个控件,可以用RMFormReport1 只要设置其printcontrol控件为你所需的stringgrid 然后showreport就可以了。
J jxyghm Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-09 #5 tfruserdataset,是导航控件,在报表预览打印时,也就是在fastreport的view中 画这些数据时得到能遍厉数据集并能够得到一些事件处理 可以通过onfirst,onnext,oncheckeof事件检查当前报表上的数据是第几行。 ,stringgrid有一个行的值,比方你在ongetvalue这样定义 Parvalue:=stringgrid.cell[col,row]; onfirst中写 row:=0; onnext中写 row := row+1; onchekeof中写 if row>= stringgrid.rowcount then eof := true; 说不太清,就这个意思
tfruserdataset,是导航控件,在报表预览打印时,也就是在fastreport的view中 画这些数据时得到能遍厉数据集并能够得到一些事件处理 可以通过onfirst,onnext,oncheckeof事件检查当前报表上的数据是第几行。 ,stringgrid有一个行的值,比方你在ongetvalue这样定义 Parvalue:=stringgrid.cell[col,row]; onfirst中写 row:=0; onnext中写 row := row+1; onchekeof中写 if row>= stringgrid.rowcount then eof := true; 说不太清,就这个意思