G
Guest
How can I make the report to print. I need this to be
printed by selecting the date. I have the code but don't
know why its not working. Can somebody point out where is
the mistake.
Dim stDocName As String
Dim strWhere As String
stDocName = "Recap report"
strWhere = "[deposit_date]=#" & Me.deposit_date & "#"
DoCmd.OpenReport stDocName, acViewNormal
When I click, it shows the msg box saying Now Printing on
Printer, then an input Box asking for the date to enter
the date. But nothing gets printed.
Please help. Thanks in advance
printed by selecting the date. I have the code but don't
know why its not working. Can somebody point out where is
the mistake.
Dim stDocName As String
Dim strWhere As String
stDocName = "Recap report"
strWhere = "[deposit_date]=#" & Me.deposit_date & "#"
DoCmd.OpenReport stDocName, acViewNormal
When I click, it shows the msg box saying Now Printing on
Printer, then an input Box asking for the date to enter
the date. But nothing gets printed.
Please help. Thanks in advance