I had asked this prior, but I think I worded it poorly or perhaps not clearly enough. I'm pretty new to Access and SQL, but I'm pretty adept with computers. I've read a few books/websites on Access/SQL, but I'm finding this problem a bit difficult. This would be a lot easier if it was a simple SELECT range, but the scenario wants me to generate a table from a date range (window prompts), then attach 0-23 to each date. It repeats the same date for each hour associated with it.
I'm pretty lost in generating the incremental dates let alone attaching the hours.
Example output given sample input 1/01/2009, 7/30/2009
Using MS Access 2007
Column 1 (Date) Column 2 (Hour) 01/01/2009 0 01/01/2009 1 01/01/2009 2 01/01/2009 3 01/01/2009 4 01/01/2009 ... continues to 23 01/01/2009 22 01/01/2009 23 01/02/2009 0 01/02/2009 1 01/02/2009 2 01/02/2009 3 01/02/2009 4 01/02/2009 .. continues to 23 01/02/2009 0 01/02/2009 1 .................................. continues until the end date supplied by the user 07/30/2009 22 07/30/2009 23