jd_boss_hogg
Registered User.
- Local time
- Tomorrow, 00:42
- Joined
- Aug 5, 2009
- Messages
- 88
Hi All - hoping one of you guys can help..
I'm running a query, with a simple WHERE statement...
WHERE ((([jb-2001].WORKTYPE)="Chrome Mask") AND (([jb-2001].GONE)="yes") AND (([jb-2001].Sage)<>"0") AND (([jb-2001].OUT_DATE)= Month(Now())));
I'm having problems with the Month part. I'm trying to show only items where the OUT_DATE is the current month. The above query gives me no results at all (if i omit the out_date field, then everything works). I obvioulsy havn't syntaxed it correctly, although i get no error messages.
Starngely, if i use (([jb-2001].OUT_DATE)> Month(8)) or (([jb-2001].OUT_DATE)> Month(#01/01/09#) or anything like that, i get every record from 6/may/08 ???
Can anyone see that i've done anything wrong with the Month(Now)) coding?
Thanks !
I'm running a query, with a simple WHERE statement...
WHERE ((([jb-2001].WORKTYPE)="Chrome Mask") AND (([jb-2001].GONE)="yes") AND (([jb-2001].Sage)<>"0") AND (([jb-2001].OUT_DATE)= Month(Now())));
I'm having problems with the Month part. I'm trying to show only items where the OUT_DATE is the current month. The above query gives me no results at all (if i omit the out_date field, then everything works). I obvioulsy havn't syntaxed it correctly, although i get no error messages.
Starngely, if i use (([jb-2001].OUT_DATE)> Month(8)) or (([jb-2001].OUT_DATE)> Month(#01/01/09#) or anything like that, i get every record from 6/may/08 ???
Can anyone see that i've done anything wrong with the Month(Now)) coding?
Thanks !