A apw Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-18 #2 在Dataset中加一个计算字段,如RecNo,类型:Integer. 在OnCalcField事件中加: procedure TForm1.ADODataSet1CalcFields(DataSet: TDataSet); begin DataSet.FieldByName('RecNo').AsInteger := DataSet.RecNo; end; 将RecNo字段加到报表上.
在Dataset中加一个计算字段,如RecNo,类型:Integer. 在OnCalcField事件中加: procedure TForm1.ADODataSet1CalcFields(DataSet: TDataSet); begin DataSet.FieldByName('RecNo').AsInteger := DataSet.RecNo; end; 将RecNo字段加到报表上.
H hds6400 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-18 #3 http://www.delphibbs.com/delphibbs/dispq.asp?lid=2374062