query to change the layout of a table

  • Follow


I have a table has the following layout and about total of 3600
records:

 ID#    group      dwgs                 spec
1       Arc           A-A-0001         01400
1       Mec          A-B-0003         01401
1       Fpn          A-A-0002         05012
1       Elc           A-C-0002         07801
2      Arc            A-A-0003         01404
2      Civ            A-C-0008         01441
3      Plu             A-F-0005         09000
3      Ins              A-I-0001         06000

I have to get that Table layout change into the following form, how to
use query/queries to handle it?


ID#    group
dwgs                            spec
1       Arc, Mec, Fpn, Elc         A-A-0001, A-B-0003,          01400,
01401,
                                                A-A-0002, A-
C-0002           05012, 07801
2      Arc , Civ                         A-A-0003 , A-C-0008
01441, 01404
3      Plu , Ins                           A-F-0005, A-
I-0001             09000, 06000

Help! Thank You!

0
Reply Fuzuy 8/16/2007 1:46:11 PM

On Aug 16, 8:46 am, Fuzuy <huiko...@yahoo.com> wrote:
> I have a table has the following layout and about total of 3600
> records:
>
>  ID#    group      dwgs                 spec
> 1       Arc           A-A-0001         01400
> 1       Mec          A-B-0003         01401
> 1       Fpn          A-A-0002         05012
> 1       Elc           A-C-0002         07801
> 2      Arc            A-A-0003         01404
> 2      Civ            A-C-0008         01441
> 3      Plu             A-F-0005         09000
> 3      Ins              A-I-0001         06000
>
> I have to get that Table layout change into the following form, how to
> use query/queries to handle it?
>
> ID#    group
> dwgs                            spec
> 1       Arc, Mec, Fpn, Elc         A-A-0001, A-B-0003,          01400,
> 01401,
>                                                 A-A-0002, A-
> C-0002           05012, 07801
> 2      Arc , Civ                         A-A-0003 , A-C-0008
> 01441, 01404
> 3      Plu , Ins                           A-F-0005, A-
> I-0001             09000, 06000
>
> Help! Thank You!

You don't.  Use fConcatChild from www.mvps.org/access  the code is in
the Modules section.

0
Reply pietlinden 8/17/2007 12:32:31 AM


1 Replies
355 Views

(page loaded in 0.205 seconds)

Similiar Articles:
















7/26/2012 2:25:03 PM


Reply: