Re: Crosstab in reverse
From: Douglas J. Steele (NOSPAM_djsteele_at_NOSPAM_canada.com)
Date: 07/16/04
- Next message: Douglas J. Steele: "Re: Useless queries"
- Previous message: Bill: "Crosstab in reverse"
- In reply to: Bill: "Crosstab in reverse"
- Next in thread: Tom Ellison: "Re: Crosstab in reverse"
- Reply: Tom Ellison: "Re: Crosstab in reverse"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 16 Jul 2004 17:52:48 -0400
Try a union query:
SELECT [RA Number], ProductID, "Sm" As Size, Sm
FROM MyTable
UNION ALL
SELECT [RA Number], ProductID, "Med" As Size, Med
FROM MyTable
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Bill" <anonymous@discussions.microsoft.com> wrote in message news:2e9d201c46b7e$6e724390$a501280a@phx.gbl... > I am trying to create a query that will do the > following... > > Turn this: > > RA Number ProductID Sm Med > 245 00000456 12 12 > > Into this: > > RA Number ProductID Size Qty > 245 00000456 Sm 12 > 245 00000456 Med 12 > > Any Ideas? > >
- Next message: Douglas J. Steele: "Re: Useless queries"
- Previous message: Bill: "Crosstab in reverse"
- In reply to: Bill: "Crosstab in reverse"
- Next in thread: Tom Ellison: "Re: Crosstab in reverse"
- Reply: Tom Ellison: "Re: Crosstab in reverse"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|