|
05-07-2021, 08:08 PM
|
#1
|
The Voice of Reason!
Join Date: Mar 2001
Location: Canandaigua, New york
Posts: 112,787
|
Open Office
I have both Apache and Libre, and the database in both seem to be very bad.
I want to export the data from a table of a query into a spreadsheets, but none of the suggestions on the net seem to work.
Anyone doing this, and how?
__________________
Who does the Racing Form Detective like in this one?
|
|
|
05-08-2021, 08:24 AM
|
#2
|
dGnr8
Join Date: Aug 2003
Location: Niagara, Ontario
Posts: 3,023
|
Quote:
Originally Posted by Tom
I want to export the data from a table of a query into a spreadsheets, but none of the suggestions on the net seem to work.
|
Any more info you can share? Copy/Paste doesn't work? Any messages?
__________________
.
The great menace to progress is not ignorance but the illusion of knowledge - Daniel J. Boorstin
The takers get the honey, the givers sing the blues - Robin Trower, Too Rolling Stoned - 1974
|
|
|
05-08-2021, 10:34 AM
|
#3
|
The Voice of Reason!
Join Date: Mar 2001
Location: Canandaigua, New york
Posts: 112,787
|
Tried copy/paste, drag and drop, nothing works, no messages, either just the spinning blue circle never stops or I get some text in cell A1.
Both Apache and Libre. Both queries and tables the same.
I am amazed that there is not a no-brainer option such as save as or export.
__________________
Who does the Racing Form Detective like in this one?
Last edited by Tom; 05-08-2021 at 10:35 AM.
|
|
|
05-08-2021, 01:07 PM
|
#4
|
Registered User
Join Date: Jan 2007
Location: Los Angeles
Posts: 492
|
|
|
|
05-08-2021, 01:29 PM
|
#5
|
dGnr8
Join Date: Aug 2003
Location: Niagara, Ontario
Posts: 3,023
|
Quote:
Originally Posted by Tom
Tried copy/paste, drag and drop, nothing works, no messages
|
Can you try it from Calc instead? i.e. open your db and then a new sheet and put the sql code in A1 and run that?
If this is a direct sql Select which creates a cursor try
Select Into Text TomsFile where ... yada yada
and then TomsFile will be a csv file of the results which you can load into Calc.
Edit - I see Tupper beat me to the export to Calc. Try the Select Into if that doesn't work.
__________________
.
The great menace to progress is not ignorance but the illusion of knowledge - Daniel J. Boorstin
The takers get the honey, the givers sing the blues - Robin Trower, Too Rolling Stoned - 1974
Last edited by Red Knave; 05-08-2021 at 01:32 PM.
|
|
|
05-08-2021, 01:48 PM
|
#6
|
Registered User
Join Date: Jan 2007
Location: Los Angeles
Posts: 492
|
Here is a sample Base file with tables.
The above linked procedure of copying the table and pasting it into a Calc cell works flawlessly here.
By the way, you don't open the Base table to copy it -- you simply right-click on the table's title (in the Tables list) and choose "Copy."
|
|
|
05-08-2021, 03:24 PM
|
#7
|
The Voice of Reason!
Join Date: Mar 2001
Location: Canandaigua, New york
Posts: 112,787
|
Quote:
Originally Posted by tupper
|
Yes-does not work in either brand of OO.
__________________
Who does the Racing Form Detective like in this one?
|
|
|
05-08-2021, 03:26 PM
|
#8
|
The Voice of Reason!
Join Date: Mar 2001
Location: Canandaigua, New york
Posts: 112,787
|
Quote:
Originally Posted by Red Knave
Can you try it from Calc instead? i.e. open your db and then a new sheet and put the sql code in A1 and run that?
If this is a direct sql Select which creates a cursor try
Select Into Text TomsFile where ... yada yada
and then TomsFile will be a csv file of the results which you can load into Calc.
Edit - I see Tupper beat me to the export to Calc. Try the Select Into if that doesn't work.
|
I have no idea what sql code is....
__________________
Who does the Racing Form Detective like in this one?
|
|
|
05-08-2021, 03:32 PM
|
#9
|
The Voice of Reason!
Join Date: Mar 2001
Location: Canandaigua, New york
Posts: 112,787
|
Quote:
Originally Posted by tupper
Here is a sample Base file with tables.
The above linked procedure of copying the table and pasting it into a Calc cell works flawlessly here.
By the way, you don't open the Base table to copy it -- you simply right-click on the table's title (in the Tables list) and choose "Copy."
|
I get a message about java missing and no connection to the DB could be made. Then "Paste" is greyed out and not available.
__________________
Who does the Racing Form Detective like in this one?
|
|
|
05-08-2021, 11:09 PM
|
#10
|
Registered User
Join Date: Jan 2007
Location: Los Angeles
Posts: 492
|
Quote:
Originally Posted by Tom
I get a message about java missing...
|
The lack of Java is (or perhaps and outdated version) can indeed cause problems.
In LibreOffice, go to "Tools > Options > LibreOffice > Advanced," and you should see a list of Java runtime environments that are installed (you likely only have one version).
Make sure that the square is "checked" next to "Use a Java runtime environment."
If that doesn't work, you might try reinstalling Java and possibly LibreOffice. Here is Java for Windows.
|
|
|
05-09-2021, 02:17 AM
|
#11
|
Registered User
Join Date: Aug 2007
Posts: 531
|
Export table to a CSV file and then import to spreadsheet
|
|
|
05-09-2021, 01:11 PM
|
#12
|
The Voice of Reason!
Join Date: Mar 2001
Location: Canandaigua, New york
Posts: 112,787
|
Quote:
Originally Posted by vegasone
Export table to a CSV file and then import to spreadsheet
|
There is no export function.
__________________
Who does the Racing Form Detective like in this one?
|
|
|
05-09-2021, 02:44 PM
|
#13
|
The Voice of Reason!
Join Date: Mar 2001
Location: Canandaigua, New york
Posts: 112,787
|
Got it!
In Calc, you have to press F4 to open a window and you find your table or query in that window, then drag and drop from that window to cell A1.
Took about 15 minutes, but I got it all!
Thanks all for your help.
__________________
Who does the Racing Form Detective like in this one?
|
|
|
|
Thread Tools |
|
Rate This Thread |
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|