Page 1 of 1

[Solved] Opening BASE database

PostPosted: Thu Dec 06, 2018 5:45 pm
by tomlock2
I create an OO Database, create 1 small table in it and save it. I cannot reopen it. Always comes up with a FILTER SELECTION window when I try. This happened using OO 4.1.5 and i just updated to 4.1.6-- same thing. I cannot create, save and reopen ANY OO Base file. Any suggestions?

Re: Opening BASE database

PostPosted: Thu Dec 06, 2018 8:20 pm
by John_Ha
It sounds like a corrupted file.

Please upload the file so that it can be analysed. Use the Upload attachment tab below where you type (128 kB max); or use a file share site, Dropbox or Google Drive for a larger file.

Create a new test file. Does it work OK?

Re: Opening BASE database

PostPosted: Fri Dec 07, 2018 12:11 am
by tomlock2
I could send you the file but it maybe a waste of time since problem occurs with any OO Base file I create. The problem is not just 1 OOBase file it is ALL OO Base files that I create.

Re: Opening BASE database

PostPosted: Fri Dec 07, 2018 12:19 am
by Villeroy
Can you open and re-open other people's databases from viewforum.php?f=100 ?
download/file.php?id=11250 is an embedded HSQLDB without macros. Should work with any default setup of OpenOffice and LibreOffice.

Re: Opening BASE database

PostPosted: Fri Dec 07, 2018 1:42 am
by robleyd
May also be relevant - where are you saving the file(s)? Default location on C: - other location on C: - external device, type?

Re: Opening BASE database

PostPosted: Fri Dec 07, 2018 2:00 am
by John_Ha
tomlock2 wrote: I cannot reopen it. Always comes up with a FILTER SELECTION window when I try.

An AOO database .odb file is a binary ZIP file.

If you see the ASCII Filter Options pop-up below when opening a .odb file it is because the .odb file is not a binary ZIP file and is not a proper .odb file. It is a flat ASCII file like a .txt file.

Re: Opening BASE database

PostPosted: Fri Dec 07, 2018 3:11 am
by tomlock2
Robleyd === you nailed it!

I was saving all of my newly created BASE files on a Flash Drive attached to my router. If instead I save them on my C: drive everything works!
Can someone explain why that is the case??

Re: [Solved] Opening BASE database

PostPosted: Sat Dec 08, 2018 4:17 pm
by Villeroy
If the status bar of your "Base database" looks like this:
Image
then you should know that this is a database package which installs a HSQL database to a temporary directory when you start editing data and which gets repackackaged when you stop editing data.

While being very brittle, this database container is good enough for educational purposes and for less important stuff. In any case you must not use this database without backups and you definitively must not store it on a flash drive (well, you may store backups on flash but not the working copy).

viewtopic.php?f=83&t=17125&p=459391#p459391
Using a USB stick with OpenOffice.org and its Derivatives