Hey guys,
I'm creating a program which retrieves data from a database, and then creates a HTML file of that data in separate columns.
However I'm having trouble with my SQL statements and the DateTime functions. The idea of the program is, for the user to enter a Month and Year (in textboxes), and what they enter goes into the SQL statement, and then the data from the database in MS.Access is retrieved between those dates, and displayed in the HTML file.
So far,I've managed to get the data to display in the HTML file, under separate columns etc... But can't figure out how to retrieve data between the user entered dates.
The format of the dates/time is as such:
appointmentID dateOfappointment timeOfappointment
16932 17/08/2005 11:00:00 AM
If possible, the program should allow the user to be able to enter the Month in Letters, and not just numbers.. ie Jan/January/1.
Any help would be greatly appreciated.
I'm creating a program which retrieves data from a database, and then creates a HTML file of that data in separate columns.
However I'm having trouble with my SQL statements and the DateTime functions. The idea of the program is, for the user to enter a Month and Year (in textboxes), and what they enter goes into the SQL statement, and then the data from the database in MS.Access is retrieved between those dates, and displayed in the HTML file.
So far,I've managed to get the data to display in the HTML file, under separate columns etc... But can't figure out how to retrieve data between the user entered dates.
The format of the dates/time is as such:
appointmentID dateOfappointment timeOfappointment
16932 17/08/2005 11:00:00 AM
If possible, the program should allow the user to be able to enter the Month in Letters, and not just numbers.. ie Jan/January/1.
Any help would be greatly appreciated.