I need to use a subform so a user can request the use of a room and connect it back to another table that contains other information about the request.
Unfortunately the user can enter multiple dates & time periods (non contiguous) so the form would look like
DateStart TimeStart Date End Time End
3/1/2004 0500 3/7/2004 1000
(user has room from 0500 to 1000 from 3/1 to 3/7
3/10/2004 1800 3/11/2004 0300
(user has room from 1800 on 3/10 to 0300 on 03/11)
and there would be 5-10 iterations of these fields.
I need help to look at each iteration to determine if there is a value entered in the dateStart field. Then I will have to look at the start & end times & parse them to create a new record which will just contain each single hour used:
0500, 0600, 0700, 0800, 0900, 100 (first example) this part I think I can do once I get how to reference the start & enddate fields.
Any help will be appreciated.
Thanks
Unfortunately the user can enter multiple dates & time periods (non contiguous) so the form would look like
DateStart TimeStart Date End Time End
3/1/2004 0500 3/7/2004 1000
(user has room from 0500 to 1000 from 3/1 to 3/7
3/10/2004 1800 3/11/2004 0300
(user has room from 1800 on 3/10 to 0300 on 03/11)
and there would be 5-10 iterations of these fields.
I need help to look at each iteration to determine if there is a value entered in the dateStart field. Then I will have to look at the start & end times & parse them to create a new record which will just contain each single hour used:
0500, 0600, 0700, 0800, 0900, 100 (first example) this part I think I can do once I get how to reference the start & enddate fields.
Any help will be appreciated.
Thanks