Try putting a parenthesis in case your confused.
Code:"SELECT Code, Tdate FROM glt WHERE (tDate BETWEEN '" & TxtDtFrom & "' AND '" & TxtDtTo & "') " & _ "AND (Code = " & RsDrt.Fields("Code").Value & ")"
|
Results 1 to 11 of 11
Thread: Error in QueryThreaded View
|
Click Here to Expand Forum to Full Width |