You can create your Column Heading values from your original records by
using a calculated column like:
ColHead: "Col" & DCount("*","data such as","[Col a]=" & [Col a] & " AND [Col
b]<=" & [Col b])

Signature
Duane Hookom
MS Access MVP
>I want to transform data such as;
>
[quoted text clipped - 17 lines]
> :o)
> Thanks!
Olly - 23 Dec 2005 12:10 GMT
Thanks very much Duane !
Huge help, problem was bugging me for ages!
> You can create your Column Heading values from your original records by
> using a calculated column like:
[quoted text clipped - 23 lines]
> > :o)
> > Thanks!
Duane Hookom - 23 Dec 2005 15:54 GMT
With a DCount() in the select statement it may take "for ages" to run.

Signature
Duane Hookom
MS Access MVP
--
> Thanks very much Duane !
>
[quoted text clipped - 30 lines]
>> > :o)
>> > Thanks!