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 [email protected]
In case of problems unsubscribing, write to [email protected]
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

Reply via email to