Re: Changing Query Layouts
From: Duane Hookom (duanehookom_at_NO_SPAMhotmail.com)
Date: 09/16/04
- Next message: Duane Hookom: "Re: AMOUNTS KEEP CHANGING"
- Previous message: Duane Hookom: "Re: Reducing nearly many nearly identical queries to one."
- In reply to: Tom: "Re: Changing Query Layouts"
- Next in thread: Tom: "Re: Changing Query Layouts"
- Reply: Tom: "Re: Changing Query Layouts"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 15 Sep 2004 23:04:34 -0500
Whenever you post something like "with no success", it should be followed
with what you did (in this case your sql) and what the resulting error was.
-- Duane Hookom MS Access MVP "Tom" <anonymous@discussions.microsoft.com> wrote in message news:2b3e01c49b32$8bd26cb0$a301280a@phx.gbl... > Sorry! I hadn't meant to post to different newsgroups, I > just thought I had put my original post in the wrong one > and didn't know if I could delete it off. > > I have tried the Union query you suggested, but with no > success. Is it easier to do it as a Union query rather > than a Crosstab? I have very limited SQL knowledge, and I > think that is what is causing the problem as I can't apply > the code you have given to my query, I just generate > errors. > > I appreciate your help on this, > tom > > > >-----Original Message----- > >At least one other reply in another news group. Please > don't post to > >multiple news groups. > > > >-- > >Duane Hookom > >MS Access MVP > >-- > > > >"Michel Walsh" <vanderghast@VirusAreFunnierThanSpam> > wrote in message > >news:eQOtc2wmEHA.3608@TK2MSFTNGP09.phx.gbl... > >> Hi, > >> > >> > >> Use a crosstab query. > >> > >> > >> TRANSFORM SUM(Sales) > >> SELECT Null] > >> FROM MyTable > >> GROUP BY Null > >> PIVOT [Month] > >> > >> > >> > >> Hoping it may help, > >> Vanderghast, Access MVP > >> > >> > >> > >> "Tom" <anonymous@discussions.microsoft.com> wrote in > message > >> news:272d01c49aff$ae5b1800$a501280a@phx.gbl... > >> > Is it possible to change a query's layout? If so, > how can > >> > I take a query that has Coloumns (across the top) and > make > >> > them rows in a table? For instance, I have Apr, May, > June > >> > etc. along the top with a Sales figure below it. How > do I > >> > create a table that takes these column headings and > >> > arranges them into one column entitled "Month"? e.g. > >> > > >> > Month Sales Figure > >> > Jan 1 > >> > Feb 1 > >> > Mar 1 > >> > Apr 1 > >> > > >> > Thanks for any help on this! > >> > > >> > Tom > >> > >> > > > > > >. > >
- Next message: Duane Hookom: "Re: AMOUNTS KEEP CHANGING"
- Previous message: Duane Hookom: "Re: Reducing nearly many nearly identical queries to one."
- In reply to: Tom: "Re: Changing Query Layouts"
- Next in thread: Tom: "Re: Changing Query Layouts"
- Reply: Tom: "Re: Changing Query Layouts"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|