In a report? Assuming that you just need "header" labels, I'd probably use
textboxes to hold the header's contents.
I would then use an expression similar to this in the first textbox:
=Format(CDate(Forms!FormName!ControlName), "mmmm")
Then in the second textbox:
=Format(DateAdd("m", 1, CDate(Forms!FormName!ControlName)), "mmmm")
In the third:
=Format(DateAdd("m", 2, CDate(Forms!FormName!ControlName)), "mmmm")
and so on to the 12th:
=Format(DateAdd("m", 11, CDate(Forms!FormName!ControlName)), "mmmm")

Signature
Ken Snell
<MS ACCESS MVP>
> I'm looking for the best way to do the following:
>
[quoted text clipped - 8 lines]
>
> Thanks!
J - 04 Mar 2005 19:23 GMT
What if I want to use those values in other places, like docmd.runsql
statements.
> In a report? Assuming that you just need "header" labels, I'd probably use
> textboxes to hold the header's contents.
[quoted text clipped - 26 lines]
> >
> > Thanks!
Ken Snell [MVP] - 04 Mar 2005 20:53 GMT
Then you would want to use an array variable, yes.

Signature
Ken Snell
<MS ACCESS MVP>
> What if I want to use those values in other places, like docmd.runsql
> statements.
[quoted text clipped - 31 lines]
>> >
>> > Thanks!