I have a ODS Speadsheet that contains just over 400k rows which I want to import into LibreOffice Base as a Table.
As a test, I can import 10 rows easily by dragging the sheet to the Table area in Base. If I try and do this with the full spreadsheet I get errors. It seems to create the table but no data is imported. If I try to open the table it gives the error:
The data content could not be loaded.
S1000 General error java.lang.NullPointerException in statement [SELECT * FROM "Table2"]
During the apparent data load a warning is issued too:
Warning
S1000 General error java.lang.NullPointerException in statement [INSERT INTO "Table2" ( "ID","COL1","COL2","COL3","COL4","COL5","COL6","COL7","COL8","COL9","COL10","COL11","COL12","COL13","COL14","COL15","COL15","COL16","COL17","COL18") VALUES ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)]
Continue anyway?
I have also tried creating an empty table first with the correct table fields and appending the data but that too fails.
What options are there for loading a large amount of data into Base?
Is there a Macro method of writing the data from ODS to Base, or even chucking up the data into say 50,000 rows and importing/appending in smaller bites?
I can open the ODS sheet in a new database, but then it is read-only as it is using the ODS as a data source. Having got that far though is it possible to copy the data from a read-only database to another fresh standalone database? Macro again maybe?
Thanks,