[Qgis-developer] One to many relations: forms

Paolo Cavallini cavallini at faunalia.it
Tue May 13 05:09:04 PDT 2014

Hi all.
Just opened a few tickets about it.
I think with a little bit of smoothing, this function will be much more
I also ound some dialog formatting issues on smaller screens (parent
table occupying too much space, window not resizing, etc.), but I think
this has been fixed in master.

All the best.
Hi all.
I'm working with forms and one to many relations, and I do not know
whether I hit a
current limitation, or if I'm missing something.
I have custom forms (D&D designer) for both parent and child tables. I
want to add
the custom child form to the parent one, so the user can insert new data
in the
parent table, and add data to the child from the same form. I cannot
find a way to do
it with D&D forms.
With autogenerated forms, this is possible, but:
* the FK, added by hand to the parent, is not shown on the list of the
available ones
for child (so the list is taken from the saved table)
* in the tab showing the parent form, also the child table is shown
(twice in my case).
I find this rather confusing. It seems to me that the function is geared
for adding
children to existing parents, rather than adding parents and children in
one shot: am
I wrong? I think also the second case is quite useful in many contexts.
Thanks for any suggestion.
All the best.
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html

More information about the Qgis-developer mailing list