How to.. sort a table in 3 columns

I have a list that has two fields: aisle and item. I need to maintain the list sorted by item, but print a pick list by aisle. This would be simple except, when I print the list for marking I need to print it in item order, in 3 columns. When I print the pick list I again need to print it in 3 columns, sorted by item,

Right now I am sorting the list by aisle and manually cutting and pasting it into 3 columns. I currently have the data in a spreadsheet.

I tried using frames set for 3 columns, but when past the sorted list into the frames it does not spill over onto the 2nd and 3rd columns.

I would appreciate suggestions.

Thanks,

bill

1) Create a custom Writer document with the fields you want printed.
2) attach the spreadsheet to Base. Create a query that meets your sort/selection requirements.
3) print the document as a form letter.

"Fields" suggests a database, you mention a spreadsheet, and "frames" suggests a text document, so I don't think your whole problem is particularly well defined here. But inasmuch as your final problem seems to be getting material to spill over naturally between columns in a text document, then separate frames will - as you say - not work. But there are various schemes that will:

o Go to Format | Columns... and make your setting there. Notice that this is a facet of your page style, so you can also find this on the Columns tab of the page style dialogue. By changing page style, you can make the columns extend over only some pages of your document.

o You can even have the columns extend over fractional pages using sections. Go to Insert | Section... to create a section in your document. Set the number of columns in the Insert Section dialogue. Note the "Evenly distribute contents to all columns" option, which is a simple way to arrange that your columns extend exactly as far down the page as necessary.

o If you prefer to use frames (as you mention), it is possible to link frames so that material will flow naturally between them. Select the first frame, click the Link Frames button in the Frame toolbar, and click in the second frame. Repeat for further frames.

I trust this helps.

Brian Barker

I have never used the form letter generator. Will it allow 1..n rows?

bill

Operating system?
Office version?
Office component? Writer? Calc? Base?
File format? doc, docx, odt, ods, xls, odb?
I don't understand how you want to dump 2 fields into 3 columns?
The term "pick list" is unclear. Listbox? Writer field of type "input list"?

Let's try to rephrase:
Using LibreOffice 5.0.2, I have a spreadsheet (*.ods) with a 2-column
list of item names and aisles numbers.
How can I include a properly sorted version of that list with a 3rd
column of ... in a Writer document?

I have a list that has two fields: aisle and item. I need to maintain
the list sorted by item, but print a pick list by aisle. This would be
simple except, when I print the list for marking I need to print it in
item order, in 3 columns. When I print the pick list I again need to
print it in 3 columns, sorted by item,

Right now I am sorting the list by aisle and manually cutting and
pasting it into 3 columns. I currently have the data in a spreadsheet.

I tried using frames set for 3 columns, but when past the sorted list
into the frames it does not spill over onto the 2nd and 3rd columns.

I would appreciate suggestions.

Thanks,

bill

Operating system?

Windows 7

Office version?
Office component? Writer? Calc? Base?

I'll use whatever I need

File format? doc, docx, odt, ods, xls, odb?

odt or ods

I don't understand how you want to dump 2 fields into 3 columns?

Location item location item location item
    1 widget 9 vebelfetzer 13 nails, 10p
    1 screws, 8x1 10 L. widget 24 nailsm 16p

The term "pick list" is unclear. Listbox? Writer field of type "input list"?

a pick list is a lit of items to be picked and packed for an order

bill

Solution: 3 linked frames rather than 1 3-col frame.

1) Store your list data in some kind of simple database:
Having the 2-column list in a text file (*.csv or *.txt), open the file
with Calc.
Having the 2-column list in a spreadsheet, make sure that the A1 and B1
contain the words "Location" and "Item" as column labels and that all
locations are numbers (Ctrl+F8 highlights numbers in blue).
Save the spreadsheet in a separate directory as a dBase file:
menu:File>SaveAs...
Navigate to your preferred directory, add a new directory, visit the new
directory
menu:File Type:dBase(*.dbf)
This file format gives various advantages for every day use.

Operating system?

Windows 7

Office version?
Office component? Writer? Calc? Base?

I'll use whatever I need

File format? doc, docx, odt, ods, xls, odb?

odt or ods

I don't understand how you want to dump 2 fields into 3 columns?

Location item location item location item
    1 widget 9 vebelfetzer 13 nails, 10p
    1 screws, 8x1 10 L. widget 24 nailsm 16p

The term "pick list" is unclear. Listbox? Writer field of type "input
list"?

a pick list is a lit of items to be picked and packed for an order

bill

1) Store your list data in some kind of simple database:
Having the 2-column list in a text file (*.csv or *.txt), open the file
with Calc.
Having the 2-column list in a spreadsheet, make sure that the A1 and B1
contain the words "Location" and "Item" as column labels and that all
locations are numbers (Ctrl+F8 highlights numbers in blue).
Save the spreadsheet in a separate directory as a dBase file:
menu:File>SaveAs...
Navigate to your preferred directory, add a new directory, visit the new
directory
menu:File Type:dBase(*.dbf)
This file format gives various advantages for every day use.
--------------------------------------
2) Connect your database to the office suite:
>>Database...
[x] Connect to existing database
Type: dBase
Point to the directory
[X] Yes, register the database
Save the database document (*.odb) in that directory or elsewhere.
---------------------------------------
3) Generate a dynamic report in columnar layout:
Click the tables container.
Right-click the table therein, call the report wizard and create a
tabular report with a 3-column layout and the right sort order.
--------------------------------------
What is this "database document"?
Your database table is a _link_ to your dBase file. The database
document (*.odb) does not store any data. It represents the contents of
the dBase files in the given directory as a collection of database
tables. Your data are in the dBase file or any additional dBase files
stored in that directory.
Since you registered this data source you have quick access to your list
without opening anything. Just hit F4 in Writer or Calc.
The report is a Writer document embedded in that database file. It is
filled with table data every time you open the report. You can store
snapshots of this report at any time simply saving the embedded Writer
document as a stand-alone document or as PDF.

Thank you.
bill