[Solved] SQL Errors

Creating and using forms
Post Reply
minrub
Posts: 6
Joined: Wed Sep 16, 2015 8:00 pm

[Solved] SQL Errors

Post by minrub »

Hello,
Can I somewhere find a descriptions about SQL errors?
For a moment I am trying to get form which is updating subform according entered form data.
I am getting an error:
SQL Status: 23000
Error code: -8
Integrity constraint violation SYS_FK_198 table: Brokas1 in statement [UPDATE "Gaminys" SET "Gaminys" = ? WHERE "Gaminys" = ?]
Sometimes it is difficult to found clear description about errors.
Last edited by minrub on Thu Sep 24, 2015 1:21 am, edited 1 time in total.
OpenOffice 5.2 on Windows 7
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Errors

Post by Villeroy »

"Integrity constraint" is a foreign key. You try to violate a foreign key, e.g. having a relation between invoices and clients you try to send an invoice to a client-ID that does not exist in the client table.
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