G
G Lam
Hi, I use a form "frmPrintDay" to ask user input a date then use that date
to print a report. I wrote a line of code as following:
DoCmd.OpenReport stDocName, acPreview, "qrySumSku",
WhereCondition:="PackDate = " & _
Forms!frmPrintDay!DayToPrint
But it did not work.
What did I do wrong?
Thank you in advance
Gary
to print a report. I wrote a line of code as following:
DoCmd.OpenReport stDocName, acPreview, "qrySumSku",
WhereCondition:="PackDate = " & _
Forms!frmPrintDay!DayToPrint
But it did not work.
What did I do wrong?
Thank you in advance
Gary