[Solved] Dropdown list selection not updating table

Discuss the database features
Post Reply
tjsilver
Posts: 9
Joined: Sun Feb 15, 2015 9:35 pm

[Solved] Dropdown list selection not updating table

Post by tjsilver »

Hello!

I'm sure there's a tutorial on this somewhere but I've not been able to find it!

I've added a List Box to my form. I make a selection and carry on adding info and all seems well. However, I keep getting an error message saying 'Unable to update current record'.

What have I done wrong? (Old fart making transition from access).

I probably haven't supplied enough info but any response appreciated.

Tim
Last edited by tjsilver on Thu Nov 23, 2017 3:52 am, edited 1 time in total.
OpenOffice 4.1.4 on Windows 10 Pro
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Dropdown list selection not updating table

Post by Villeroy »

The listbox question is asked almost daily. Just scroll down down the Base forum a little bit.
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
UnklDonald418
Volunteer
Posts: 1546
Joined: Wed Jun 24, 2015 12:56 am
Location: Colorado, USA

Re: Dropdown list selection not updating table

Post by UnklDonald418 »

Your error might be related to the Primary Key.
The database engine can't Update a record if it doesn't know the Primary Key value for that record.
Is there a control on the form displaying the Primary Key for the table being updated?
If your problem has been solved, please edit this topic's initial post and add "[Solved]" to the beginning of the subject line
Apache OpenOffice 4.1.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11
tjsilver
Posts: 9
Joined: Sun Feb 15, 2015 9:35 pm

Re: Dropdown list selection not updating table

Post by tjsilver »

Thanks for replies. Got there in the end!
OpenOffice 4.1.4 on Windows 10 Pro
Post Reply