On Wed, Mar 4, 2015 at 4:59 AM, hw <[email protected]> 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... https://listarchives.libreoffice.org/global/users/msg43335.html 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: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ 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
