A
Armin
What am I doing wrong here?I think it's somthing with
FORMAT.
strSQL = " SELECT
Workorders.WorkorderID,Workorders.CustomerID,
Workorders.DateReceived,workorders.ProblemDescription " & _
" FROM Workorders " & _
" WHERE ((Format([DateReceived],"yyyy")) = Year
(Now())) AND ((Workorders.CustomerID)=" & Me!
Customer.Column(0)))
Thanks in advance
armin
FORMAT.
strSQL = " SELECT
Workorders.WorkorderID,Workorders.CustomerID,
Workorders.DateReceived,workorders.ProblemDescription " & _
" FROM Workorders " & _
" WHERE ((Format([DateReceived],"yyyy")) = Year
(Now())) AND ((Workorders.CustomerID)=" & Me!
Customer.Column(0)))
Thanks in advance
armin