ECEstudent
Registered User.
- Local time
- Yesterday, 18:49
- Joined
- Jun 12, 2013
- Messages
- 153
SQL line of code error
Does anyone know what's wrong with this line of code? It keeps giving me a syntax error...
Set rst = CurrentDb.OpenRecordset( _
"Select * from CalculateTotal WHERE ((Structure) Like'*" & u & "*'")AND (((ShipDate) BETWEEN #09/30/2001# AND #10/01/2012#)) ")
Set rst = CurrentDb.OpenRecordset( _
"Select * from CalculateTotal WHERE ((Structure) Like'*" & u & "*'")AND (((ShipDate) BETWEEN #09/30/2001# AND #10/01/2012#)) ")