Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Dag René,
De kolom ID blijf ik vanaf want Base regelt dat zelf wel als de kolom ID
wil hebben. Of die Int of Autowaarde moet zijn weet ik niet eens.
Voor ons is de ID niet belangrijk. SQL en Base gebruiken ID om heel snel te
sorteren en selecteren.
Wat ik wel merk is, dat Base automatisch een volgnummer in ID zet voor een
nieuw record. Heel raar ook, soms moppert Base dat ik ID vergeten ben in te
vullen. Nou, dan geef ik maar een volgnummer als het maar geen duplicaat
is!
Met groet,
Dick


Op 16 februari 2016 20:55 schreef plaater <plaater@gmail.com>:

Beste ...,

Ik heb in LO

Versie: 5.0.5.2
Build ID: 1:5.0.5~rc2-0ubuntu1~trusty1
Locale: nl-NL (nl_NL.UTF-8)

in Base een tabel gemaakt ( Tabel maken in ontwerpweergave ) en een veld ID
genoemd, geheel getal [INTEGER], autowaarde "Ja".
Van dit veld heb ik de primary key gemaakt.
Zodra in in de ontwerpmodus deze tabel opsla wijzigt de autowaarde vanzelf
in "Nee".
Hierna kan ik dit veld niet meer bewerken.
Geen enkel veld overigens.

Het formulier wat op deze tabel gebaseerd is is niet te gebruiken, want
zodra ik het ingevuld heb en op wil slaan krijg is de foutmelding:
Attempt to insert null into a non-nullable column: column: ID
Logisch want ID staat niet op autowaarde "Ja".

Ik kan dat veld echter niet wijzigen.

Wat doe ik verkeerd ?

Bij voorbaat dank voor het meedenken.

Groeten,
René.

--
Unsubscribe instructions: E-mail to users+unsubscribe@nl.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/nl/users/
All messages sent to this list will be publicly archived and cannot be
deleted


-- 
Unsubscribe instructions: E-mail to users+unsubscribe@nl.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/nl/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.