I want to list all records within a certain date period from a recordset in dreamweaver MX. (eg between 05/10/02 - 07/10/02 ) I'm using ASP for the server script & access for the database.
Try this, you will need to put in your own variables and table names etc you might need to change the &'s to +'s
mySQL = "SELECT * FROM yourtable WHERE yourdatefield > '#"
mySQL = mySQL & firstDateVariable
mySQL = mySQL & "#' AND < '#"
mySQL = mySQL & secondDateVariable
Cheech The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.