展开全部
可用代码打开报表前设置,例如
Private Sub Command1_Click()
With DataReport1
.Caption = "打印应收款月结单"
.Orientation = rptOrientDefault '默认
.Orientation = rptOrientPortrait '纵向
.Orientation = rptOrientLandscape '横向
.Sections("Section3").Controls("Label23").Caption = "第%p页 共%P页"
.Show
End With
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询