S
SFKC
Hi,
I have a form to view reports by selected dates. While trying to put the
criteria in the button, I found that it did not work. Could someone advice
Dim CrStg As String
CrStg = "TransactionDate Between #" & Forms![frmReportByDate]![cboFrom] & "#
And #" & Forms![frmReportByDate]![cboTO] & "#"
DoCmd.OpenReport Me.lstReports, acViewPreview, , CrStg
SF
I have a form to view reports by selected dates. While trying to put the
criteria in the button, I found that it did not work. Could someone advice
Dim CrStg As String
CrStg = "TransactionDate Between #" & Forms![frmReportByDate]![cboFrom] & "#
And #" & Forms![frmReportByDate]![cboTO] & "#"
DoCmd.OpenReport Me.lstReports, acViewPreview, , CrStg
SF