B
BLTibbs
Why am I getting a syntax - missing operator - error with this code? I am
trying to open a report based on the scoutpaiddate field.
Private Sub Command10_Click()
Dim stScoutReport As String
Dim stWhere As String
stWhere = "[scoutpaiddate] = " & Me.[ScoutPaidDate]
stScoutReport = "ScoutStatementRpt"
DoCmd.OpenReport stScoutReport, acViewPreview, , stWhere
End Sub
Please help...
trying to open a report based on the scoutpaiddate field.
Private Sub Command10_Click()
Dim stScoutReport As String
Dim stWhere As String
stWhere = "[scoutpaiddate] = " & Me.[ScoutPaidDate]
stScoutReport = "ScoutStatementRpt"
DoCmd.OpenReport stScoutReport, acViewPreview, , stWhere
End Sub
Please help...