RevelationUK
Technical User
Im trying to make a query , heres what I have so far: (the Date in my access database is in the format "dd/mm/yyyy")
SELECT *
FROM tblCustomers
WHERE (tblCustomers.State='No Letters Sent')
And (tblCustomers.DateEntered='29/06/2005');
however I get type mis match, now I believe I have to use the convert function maybe to change the date type? Secondly, I want to return the records where tblCustomers.DateEntered = TodaysDate. How do I do that?
SELECT *
FROM tblCustomers
WHERE (tblCustomers.DateEntered = Convert(something,getdate(),103)
maybe? Im guessing? thanks in advance, rev.
SELECT *
FROM tblCustomers
WHERE (tblCustomers.State='No Letters Sent')
And (tblCustomers.DateEntered='29/06/2005');
however I get type mis match, now I believe I have to use the convert function maybe to change the date type? Secondly, I want to return the records where tblCustomers.DateEntered = TodaysDate. How do I do that?
SELECT *
FROM tblCustomers
WHERE (tblCustomers.DateEntered = Convert(something,getdate(),103)
maybe? Im guessing? thanks in advance, rev.