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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #3 from [email protected] 2012-08-16 09:13:31 UTC ---
(In reply to comment #1)
> How do you want to create this listfields? 
I'm describing the request from a pure user's perspective.


> The only behaviour of an automatic wizard could be: Set the key of the second
> table the second SQL-value and the first field of the table, which isn't the
> key, as the shown value in the listfields. But the first thin, that must be
> done by everybody, who wants to have such a function: The relationships 
> between the tables must be declared.

> Robert


Sure, the relations between the fields in both tables must be declared in menu
Tools->Relations before the table editor is called/open.

Then, as the table editor opens/loads table tbl_userData, it could find out
that its field fld_X is related to a primary key field fld_A in table
tbl_masterValues.

Then, the table editor could check if the ammount of values is usable and if
so, instead of using a text box it could present a drop-down list containing
the valid values. A null value should also be added to the list if allowed by
the relation's declaration.

No value translation is hereby requested.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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