Hi All,
I am developing a Windows Application using .Net Framework 2.0 and My Database is MS ACCESS 2007.
In my table , to store Date I used Text as datatype for Column and storing the date in dd/MM/yyyy format.
My problem is when I am finding records between two dates like this.......
select * from tblEmployee where [DateofJoin] >= '01/06/2009' and [DateofJoin] <= '20/06/2009'
it is working fine....
but when I changing dates like this.....
select * from tblEmployee where [DateofJoin] >= '20/05/2009' and [DateofJoin] <= '20/06/2009'
it is not fetching records......
Please help me as I am new to Access....
I know SQL Server, in that Convert function is available to convert date in any format......
Is Any thing Available in MS Access 2007 like Convert Function to convert date in any format..
Thaks in advance....
its Urgent
I am developing a Windows Application using .Net Framework 2.0 and My Database is MS ACCESS 2007.
In my table , to store Date I used Text as datatype for Column and storing the date in dd/MM/yyyy format.
My problem is when I am finding records between two dates like this.......
select * from tblEmployee where [DateofJoin] >= '01/06/2009' and [DateofJoin] <= '20/06/2009'
it is working fine....
but when I changing dates like this.....
select * from tblEmployee where [DateofJoin] >= '20/05/2009' and [DateofJoin] <= '20/06/2009'
it is not fetching records......
Please help me as I am new to Access....
I know SQL Server, in that Convert function is available to convert date in any format......
Is Any thing Available in MS Access 2007 like Convert Function to convert date in any format..
Thaks in advance....
its Urgent