Query with 3 or 4 fields with DISTICNT crashes AOO

Creating tables and queries
Post Reply
User avatar
ypersyntelykos
Posts: 107
Joined: Tue Jul 28, 2015 6:31 pm

Query with 3 or 4 fields with DISTICNT crashes AOO

Post by ypersyntelykos »

hello

i create some queries with 3 or 4 or more fields when i put SELECT DISTICNT ( because i need not double or triple records) crashing all the database
and not recovery
how i can create these queries without problems because i need them to produce special reports

thanks
OpenOffice 4.1 + LibreOffice 5 on Windows Vista + XP
OpenOffice 4.1 + LibreOffice 5 on Linux mint 17,2
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: when i create query with 3 or 4 fields with DISTICNT cra

Post by Villeroy »

In Writer or Calc hit F4
RIght-click Bibliography>Edit Database ...
The status bar indicates that this is a dBase database. What type of database is your database?
Add new query

Code: Select all

SELECT DISTINCT "Identifier", "Author", "Title", "ISBN", "Publisher", "Year" FROM "biblio"
Crash?
Does your database crash with LO5 (which is experimental)? >> File a bug report.
Does it crash with OpenOffice? >> Try resetting your user profile.

P.S. Databases should never store any duplicates. Add a unique index after deleting the duplicates.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
ypersyntelykos
Posts: 107
Joined: Tue Jul 28, 2015 6:31 pm

Re: when i create query with 3 or 4 fields with DISTICNT cra

Post by ypersyntelykos »

Villeroy wrote:In Writer or Calc hit F4
RIght-click Bibliography>Edit Database ...
The status bar indicates that this is a dBase database. What type of database is your database?
Add new query

Code: Select all

SELECT DISTINCT "Identifier", "Author", "Title", "ISBN", "Publisher", "Year" FROM "biblio"
Crash?
Does your database crash with LO5 (which is experimental)? >> File a bug report.
Does it crash with OpenOffice? >> Try resetting your user profile.

P.S. Databases should never store any duplicates. Add a unique index after deleting the duplicates.
thanks for your fast answer/help
i create and use in open office base 4.1.1
when crashing i find in my disk the half size of KBytes the odb file
OpenOffice 4.1 + LibreOffice 5 on Windows Vista + XP
OpenOffice 4.1 + LibreOffice 5 on Linux mint 17,2
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: when i create query with 3 or 4 fields with DISTICNT cra

Post by Villeroy »

I can not confirm any crashes. Not with the "Bibliography" database and not with HSQL databases.

Try resetting your user profile:
Shut down the office completely
Rename directory ~/.config/libreoffice/4/user/ [Windows: %APPDATA%\LibreOffice\4\user\]
Restart the office and see if the crashes persist.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply