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


At 17:53 23/01/2016 -0600, Tim Schoell wrote:
I am new to databases, but I wanted to set one up to keep track of the cars I work on at home. The problem I have is that when I go to create a new table, whether I use the Wizard or Design View to create the table, I can't get the primary key to automatically increment. I have the 1st field as CustomerID. I set it as Integer, and the click on the AutoValue to Yes. I add the other fields, such as name, address, phone number, etc, save the table. When I go to add data, it always wants me to input a value for CustomerID. What am I doing wrong?

Probably nothing: this appears to be a bug. See
https://bugs.documentfoundation.org/show_bug.cgi?id=42905 .

When you add data, the AutoValue field should show "<AutoField>"; if it is blank, then the process of creating the table has failed. The workaround is simple:
o Close the table.
o Select the table in the Tables panel.
o Go to Edit | Edit... (or right-click | Edit).
o Select the appropriate field.
o In the Field Properties panel at the bottom, change AutoValue from No to Yes.
o Close and save changes.

I trust this helps.

Brian Barker


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/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.