transport_cd ,是报表文件里的一个字段,原来的VB 6.0 :
Set rpt1 = New actPRT100
rpt1.Fact_Cd = Trim(VDB_fGetColName(objRec, "fact_cd"))
rpt1.transport_cd = Trim(VDB_fGetColName(objRec, "transport_cd"))
rpt1.Bos_Cd = Trim(VDB_fGetColName(objRec, "bos_cd"))
rpt1.Haisya_No = RTrim(VDB_fGetColName(objRec, "haisya_no"))
rpt1.Recordset = objRec2
rpt1.DateTime = strDate
rpt1.Run False
现在activeReports 7.0 里面不知道怎么去获取里面的字段,并给他进行赋值???? |