[Solved] Grouping Line Items

Getting your data onto paper - or the web - Discussing the reports features of Base
Post Reply
bdixon
Posts: 2
Joined: Thu Nov 19, 2009 11:42 pm

[Solved] Grouping Line Items

Post by bdixon »

I have a db in which each record is a line item in an order:

Code: Select all

Order#        Purchaser           SKU                  Description             
1234          Frank Jones         SKU_1                A New Book      
1234          Frank Jones         SKU_2                Another Book
1235          Doria Williams      SKU_1                A New Book 
1236          Andy Taylor         SKU_3                Someone Else's Book
1236          Andy Taylor         SKU_2                Another Book
1236          Andy Taylor         SKU_4                My Book
I'm basically trying to create a Packing List -- I would like the order # and Purchaser to print as the header, then the line items to print in the detail, then start a new page whenever the order # changes. I'm using Sun Report Builder and am new to it and OpenOffice -- any help is appreciated!
Last edited by Hagar Delest on Wed Nov 25, 2009 12:12 am, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 3.1
Windows XP
User avatar
r4zoli
Volunteer
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: Grouping Line Items

Post by r4zoli »

The layout what you want to achive not possible with SRB 1.1.0., cross table reports not supported, now.

Only this can be reached on separate pages:
Order#
1234
Purchaser
Frank Jones
SKU Description
SKU_1 A New Book
SKU_2 Another Book

Order#
1235
Purchaser
Doria Williams
SKU Description
SKU_1 A New Book

Order#
1236
Purchaser
Andy Taylor
SKU Description
SKU_3 Someone Else's Book
SKU_2 Another Book
SKU_4 My Book

Create new Grouping selecting Field one Order# and second with Purchaser.
One Order# properties set the "Force New Page" to "Before Section".
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
bdixon
Posts: 2
Joined: Thu Nov 19, 2009 11:42 pm

Re: Grouping Line Items

Post by bdixon »

That did it. Hate to admit it but I was using the wrong field for order number. Thanks for your help!!

Bob
OpenOffice 3.1
Windows XP
Post Reply