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


I know this is complicated, but I'll try to be simple and clear.

I'm building a form that displays a single record at a time from a table, as a set of text boxes. The form displays all data in the table by moving successively to each record. Every field except the primary key field can be edited.

I have a list box bound to one of the fields. It displays a field from another table (which has only a key field and a data field - text). That table has only a few records. It's sole purpose is to contain the list to be display in the list box.

My intention is that selecting a value from the list box will cause the field in the main table to be updated by the key of the record containing the selected list item in the list table. That key is field #1 in that table, so my bound value is 1.

The list is displaying perfectly. However, in the form, the field to which the list box is bound displays nothing, ever. It DOES initially have a value, and certainly should after I make a list box selection. It just never shows any value, however. Moreover, looking at the main table's record outside of the form shows that it contains only "0", regardless of which list item I select.

So...

1. Why is no value ever displayed in the form, even though there IS a value in the record? In MS Access, it would show, I believe. 2, Why is the selected list item's key never updated into the master table field. It IS bound, according to the property dialog.

I don't see my error, I'm afraid. Any suggestions would be appreciated.


--
Unsubscribe instructions: E-mail to users+help@global.libreoffice.org
In case of problems unsubscribing, write to postmaster@documentfoundation.org
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.