JonK,
That look exactly like what i am after, but and there must always be a But....
in my example i only had 1 line called Line 1, how would i modify the sql code to display other lines also, for example line2, line 3.
i would also like to be able to choose between a range of daycodes.
I...