On Wed, Mar 4, 2015 at 4:59 AM, hw <email@example.com> wrote:
how would I create a spreadsheet from a table in a database?
I know I can copy and paste, and I want to avoid that. Basically, users
should be able to click an icon in LO (or on their desktop) and be
presented with a spreadsheet which displays an export from a table I have
in a mysql database. Fields in the spreadsheet must be in a different
order than in the database and be formatted to a pre-defined width.
Hello hw, there was recently conversation on the topic of data export. The
thread is here...
There is no icon or menu selection providing access to that feature
however, yes, the export and reordering of columns can be done. It is done
via the SQL command window. The command, using HSQL syntax, is...
SELECT * INTO TEXT "exportTable1" FROM "Table1"
Syntax would need to be modified to mysql equivalent to support the same
action with a mysql source.
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
- Re: [libreoffice-users] database2spreadsheet · Alan B
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy