(I think I may have posted this in the incorrect category. Should this have been posted under WSH & Client Side VBScript? Can it be moved if it is in the wrong place?) Just to add:
I can have a go at doing this myself. If I could just get some help on how to set up the array. I don't mind fumbling through trying to get it running. After all, how else can I learn do this better myself? I can always come back here when I'm stuck. Thanks.
Hi VBS people
I'm not sure how best to explain what I require, but here goes:
I need an array (I assume) that can store the last seven days broken up into hour segments. I intend to use this array with Three dropdown menus in a .hta form.
The array will store the following information:
Each of the last seven days including today
The day for each of the last seven days including today - Format Mon, Tue, Wed ...
The month associated with the last seven days (bearing in mind that there may have been a change of month in the previous seven days) - Format Jan, Feb, Mar...
The hours for each of the last seven days except that the last (or first?) hour will be this current hour less one. - Format 00.00, 01.00, 02.00, 03.00...
ie it's 9.04PM as I write this, but the array will store each hour for the last seven days starting (or ending?) at 8PM.
How can I display this in the form of a list with the ability to select any or all of the hourly segments?
The list would look like this (assuming today is Friday):
Sat, Aug, 11, 00.00
Sat, Aug, 11, 01.00
Sat, Aug, 11, 02.00
...
...
...
Fri, Aug, 17, 14.00
Fri, Aug, 17, 15.00
Fri, Aug, 17, 16.00
Have I explained this clearly enough? Please help. I believe I can do the rest of what I need, but this has me stumped.
Thanks very much in advance.
<message edited by BadCam on Thursday, August 23, 2007 8:40 AM>