https://bugs.freedesktop.org/show_bug.cgi?id=70462

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from [email protected] ---
You use the comboboxes in the wrong way. The fields of the table "Medicamentos"
are integer-fields. So I think you will save the primarykey of the other tables
as foreignkey in this table (I only could guess it - there is nor relationship
designed).
So you have to chose a listfield. For example take the filed "fmtConB" of the
form and change it to a listfield. Set the query for the content of the field
to

SELECT "Sigla", "IdUnPA" FROM "UnidadPA"

(First the content, which should be shown, second the content, which would be
saved in the table).

This should work also for the other fields.

When you have changed this and all works well you should define 
Tools → Relationships
It would help to make no mistakes by adding a value to the table
"Medicamentos", which has no primarykey in the table "UnidadPA", for example.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to