Then it should be something like:
Good luck.Code:strSql = "Select * From Payment" _ & " Where DatePart(yyyy,[Date])=" & cboYear.Text _ & " and DatePart(mm,[Date])=" & cboMonth.Text
|
Results 1 to 12 of 12
Thread: Sql Statement HelpThreaded View
|
Click Here to Expand Forum to Full Width |