C
Craig M. Bobchin
Hi all,
I'm trying to set the rowsource in a combobox in VBA. I've broken the
SQL into 3 sections to better debug any issues. I'm having problems with
the Where clause below:
strCriteria = "WHERE (((tblWeekEnding.WeekEnding) " & ">" & DateAdd
("m",-1,Date() & ")) AND ((tblTimeTrack.ResourceID)=" & intResourceId &
"))"
Can anyone help me sort out why Access/VBA doesn't like the line?
intResourceID is a defined global variable.
Thanks
Craig
I'm trying to set the rowsource in a combobox in VBA. I've broken the
SQL into 3 sections to better debug any issues. I'm having problems with
the Where clause below:
strCriteria = "WHERE (((tblWeekEnding.WeekEnding) " & ">" & DateAdd
("m",-1,Date() & ")) AND ((tblTimeTrack.ResourceID)=" & intResourceId &
"))"
Can anyone help me sort out why Access/VBA doesn't like the line?
intResourceID is a defined global variable.
Thanks
Craig