我目前是将汇总金额计算出来,直接在DataReport_Initialize()中对标签进行写值:
Private Sub DataReport_Initialize()
With datae.rs发货单
Me.Sections("section2").Controls("label28").Caption = .Fields("客户名称").Value
Me.Sections("section2").Controls("label33").Caption = .Fields("地址").Value
Me.Sections("section2").Controls("label34").Caption = .Fields("日期").Value
Me.Sections("section2").Controls("label35").Caption = .Fields("单据编码").Value
Me.Sections("section3").Controls("label36").Caption = .Fields("合计数量").Value
Me.Sections("section3").Controls("label37").Caption = .Fields("大写金额").Value
Me.Sections("section3").Controls("label39").Caption = .Fields("制单人").Value
Me.Sections("section3").Controls("label40").Caption = .Fields("备注").Value
Me.Sections("section3").Controls("label41").Caption = .Fields("审核人").Value
Me.Sections("section2").Controls("label42").Caption = .Fields("部门").Value
Me.Sections("section2").Controls("label43").Caption = .Fields("业务员").Value
Me.Sections("section3").Controls("label38").Caption = "¥" & Trim(CStr(.Fields("金额").Value))
End With
End Sub
我只想在末页显示汇总数据(即“金额”),而分页不显示,请问怎么解决啊??
Private Sub DataReport_Initialize()
With datae.rs发货单
Me.Sections("section2").Controls("label28").Caption = .Fields("客户名称").Value
Me.Sections("section2").Controls("label33").Caption = .Fields("地址").Value
Me.Sections("section2").Controls("label34").Caption = .Fields("日期").Value
Me.Sections("section2").Controls("label35").Caption = .Fields("单据编码").Value
Me.Sections("section3").Controls("label36").Caption = .Fields("合计数量").Value
Me.Sections("section3").Controls("label37").Caption = .Fields("大写金额").Value
Me.Sections("section3").Controls("label39").Caption = .Fields("制单人").Value
Me.Sections("section3").Controls("label40").Caption = .Fields("备注").Value
Me.Sections("section3").Controls("label41").Caption = .Fields("审核人").Value
Me.Sections("section2").Controls("label42").Caption = .Fields("部门").Value
Me.Sections("section2").Controls("label43").Caption = .Fields("业务员").Value
Me.Sections("section3").Controls("label38").Caption = "¥" & Trim(CStr(.Fields("金额").Value))
End With
End Sub
我只想在末页显示汇总数据(即“金额”),而分页不显示,请问怎么解决啊??
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货