Private Sub Command4_Click()
Dim stDocName As String
Dim Name As String
stDocName = "资料录入"
Name = Me![打印份数]
DoCmd.OpenReport stDocName, acViewPreview, , , acHidden '隐藏报表
DoCmd.PrintOut acPages, 1, , , Name
End Sub
Private Sub Command4_Click()
Dim stDocName As String
Dim Name As String
stDocName = "资料录入"
Name = Me![打印份数]
DoCmd.PrintOut acPages, 1, , , Name
End Sub