Re: Create a crosstab query grouped by month over 3 years
- From: "[MVP] S.Clark" <steve.clark_NOSPAM@xxxxxxxxxx>
- Date: Fri, 29 Jul 2005 10:29:43 -0400
The 'ColumnHeadings' property of the crosstab query can help.
The drawback is that you have to enter every possible value from Jan 2001 to
Dec 2005. If the query has to slide across a four year period,(i.e. Go back
4 years from any given current day or month), then this becomes a real
maintenance problem. But, like all things in Access, if there's a problem,
VBA can solve it.
So, try the property, and post other questions if needed.
--
Steve Clark, Access MVP
FMS, Inc.
Call us for all of your Access Development Needs!
1-888-220-6234
Consulting@xxxxxxxxxx
www.fmsinc.com/consulting
"HEather" <HEather@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1FF37037-AF8C-4F0B-87F4-1C0F6B26B123@xxxxxxxxxxxxxxxx
> Hi
> I'm an Access newbie. I have a sales table that has sales date for the
> last
> 4 years. I need to create a crosstab query by month for 3 years. The col
> headings would be Jan 2003, Jan 2004, Jan 2005, Feb 2003 etc. When I use
> the
> format function to display both month and year, then the months are sorted
> alphabetically.
> Any ideas?
> Thanks
> Heather
.
- References:
- Create a crosstab query grouped by month over 3 years
- From: HEather
- Create a crosstab query grouped by month over 3 years
- Prev by Date: Re: qryAppend IIF/Then Statement.
- Next by Date: Re: Create a crosstab query grouped by month over 3 years
- Previous by thread: Create a crosstab query grouped by month over 3 years
- Next by thread: Re: Create a crosstab query grouped by month over 3 years
- Index(es):
Relevant Pages
|
|