Hi all, I am very new to writing reports and, although I am enjoying it so far, I am very frustrated in being to able to get my data grouping working correctly.
I have a stored procedure that returns data in the following format
Location, Date, Reference, Resource, Resource Description, Resource Quantity.
An example of the data is as follows
'Garden', '20150101', 'ABCDEFG', 'Chair', 'Deckchair', '10'
'Garden', '20150101', 'ABCDEFG', 'Blanket', 'Blanket', '1'
'Garden', '20150101', 'ABCDEFG', 'Picnic', 'PicNic', '2'
'Terrace', '20160101', 'WXYZ', 'Chair', 'Deckchair', '1'
'Garden', '20170101', '123456', 'Blanket', 'Blanket', '1'
'Garden', '20150101', '123456', 'Picnic', 'PicNic', '2'
Now I can so far get my report to output my data grouped on the location, date and reference.
I then need each resource to be output for each reference one after the other so that my data should look like this
Garden - 1 Jan 2015 - ABCDEFG - Chair - Deckchair - 10
Blanket - Blanket - 1
PicNic - PicNic - 1
Terrace - 1 Jan 2016 - WXYZ - Chair - Deckchair - 1
Etc. Does this make sense? At the moment my data is coming out like this
Garden - 1 Jan 2015 - ABCDEFG - Chair - Deckchair - 10
Garden - 1 Jan 2015 - ABCDEFG - Blanket - Blanket - 1
Garden - 1 Jan 2015 - ABCDEFG - PicNic - PicNic - 1
I have tried al sorts of variations of grouping but nothing seems to work, can anyone tell me what I am missing?