Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

transpose

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kurt - 16 Jan 2008 11:54 GMT
I have a tabel like this

master, detail
A,2
A,3
A,4
A,1
A,1
B,4
B,5
B,1

I would like to present theese data as

MAster, detail1, detail2, detail3 , detail4, detail5
A,2,3,4, 1,1
B,4,5
in a datasheet layout

Anyone have an Idea

Thanks

Kurt
Jerry Whittle - 16 Jan 2008 15:43 GMT
Something like below gets close except that it only shows one A1 combination:

TRANSFORM First(Kurt.detail) AS FirstOfdetail
SELECT Kurt.master AS Master
FROM Kurt
GROUP BY Kurt.master
PIVOT "detail" & [detail];
Signature

Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

> I have a tabel like this
>
[quoted text clipped - 20 lines]
>
> Kurt
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.