updating data in tables with forms

Creating tables and queries
Post Reply
prickles
Posts: 25
Joined: Sat Jun 07, 2008 4:19 am

updating data in tables with forms

Post by prickles »

yes a simple question . i have forms to input data into table . with one column set to unique . the form dosnt edit the following data , but creates a new record of the information, when what is in the unique colmn is matched .. form properties are set to add modify and delete.
why cant i keep the individual records unique ..
thankyou in advance

OO2.4 windows xp
Attachments
New Database1.odb
(9.9 KiB) Downloaded 211 times
OOo 2.3.X on Ms Windows XP
User avatar
squenson
Volunteer
Posts: 1885
Joined: Wed Jan 30, 2008 9:21 pm
Location: Lausanne, Switzerland

Re: updating data in tables with forms

Post by squenson »

I downloaded your example, but it is incomplete, as apparently it connects to another database to get the table content. Please repost a complete file so we can further help you.
LibreOffice 4.2.3.3. on Ubuntu 14.04
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: updating data in tables with forms

Post by Villeroy »

squenson wrote:I downloaded your example, but it is incomplete, as apparently it connects to another database to get the table content. Please repost a complete file so we can further help you.
Huh? The database works for me, but I don't get what the problem is.
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
squenson
Volunteer
Posts: 1885
Joined: Wed Jan 30, 2008 9:21 pm
Location: Lausanne, Switzerland

Re: updating data in tables with forms

Post by squenson »

Ooops, now it works, I can open the table... Don't know what I did wrong the first time! I have found the behavior of the form in line with the table definition: when I try creating a new record with an already existing Number, I get a "duplicate Primary key" error message.
LibreOffice 4.2.3.3. on Ubuntu 14.04
Post Reply