I'm writing a program to pass the sql to query the database so that i unable to write a module on it. Do you still have any other way to do this? i'm sorry to bordering yous o much...
i have make some changes on my query. my new query will be
SELECT * FROM TBL WHERE FORMAT(MYDATE, 'WW yyyy', 1, 2) = '1 2007'
so 31/12/2006 is fall under work week 1 in year 2007 but this record is not query out too in this statement...
what i want is record from 31/12/2006 till 6/1/2007 which...
I got a problem regarding query work week in database.
The database contain data of year 2006 and 2007. When i query about work week, some record is missing.
i wrote the sql statement as
SELECT * FROM TBL WHERE FORMAT(MYDATE, 'WW', 1, 2) = 1 AND YEAR(2007);
There is one record missing... which...