S
Steven Greenberg
Greetings,
I am working on altering a report that I use as a signin sheet which
basically has a grid in calendar format. I have lines making up the grid
and used to just write in the given date. I then added a small text box
linked to the calling form which at least determines the first day of
that month and places a "1" in the box. I would like to extend this
feature and have the report open with the full range of dates in their
proper places. So far the way I do the single "1" is I have seven
textboxes on my calling form which via vba I determine which day of the
week the first of the specific month/year falls on. I then blank out the
other six and the first line of the grid on the report just has the
textboxes' control source to be one of the textboxes on the calling
form. works great. I was thinking of just placing a set of 42 boxes on
the form (hidden away) and somehow programming those 42 boxes to layout
the grid. then just do the same with the report, setting the control
source to one of the text boxes. What I would need advice on is how to
populate the 42 boxes on the form once I know the first day. If this was
straight VB, I would use a loop and the control array and it would be a
cinch. but I am having trouble recreating this in Access. Any help or
other suggestions or examples of something like this would be greatly
appreciated. Thanks in advance
Steve Greenberg
I am working on altering a report that I use as a signin sheet which
basically has a grid in calendar format. I have lines making up the grid
and used to just write in the given date. I then added a small text box
linked to the calling form which at least determines the first day of
that month and places a "1" in the box. I would like to extend this
feature and have the report open with the full range of dates in their
proper places. So far the way I do the single "1" is I have seven
textboxes on my calling form which via vba I determine which day of the
week the first of the specific month/year falls on. I then blank out the
other six and the first line of the grid on the report just has the
textboxes' control source to be one of the textboxes on the calling
form. works great. I was thinking of just placing a set of 42 boxes on
the form (hidden away) and somehow programming those 42 boxes to layout
the grid. then just do the same with the report, setting the control
source to one of the text boxes. What I would need advice on is how to
populate the 42 boxes on the form once I know the first day. If this was
straight VB, I would use a loop and the control array and it would be a
cinch. but I am having trouble recreating this in Access. Any help or
other suggestions or examples of something like this would be greatly
appreciated. Thanks in advance
Steve Greenberg