<div dir="ltr"><div dir="ltr"><br></div>On Fri, Nov 15, 2019 at 10:24 PM Cliff Patterson <<a href="mailto:cpatterson@psdrcs.com">cpatterson@psdrcs.com</a>> wrote:<br><div dir="ltr" class="gmail_signature"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello!<div><br></div><div>I am building an attribute form for a single spatial layer ( stored in PostGIS). For value maps, I am using the Value Relation to link to a few flat tables that are pulled into the project from Postgres/PostGIS. I am able to save the style as default in the Postgres/PostGIS database, but when I load the layer into a new project with the associated tables, the relations are broken -- none of the drop down menus work -- they appear with "(no selection)" as the only option in the dropdown menu. </div><div><br></div><div>Is there a way to either (1) point the value relations directly to a database table to avoid having to load them with the spatial layer or (2) preserve/save the Value Relations in the default layer style? Without either of these two functions, it is hard to truly create a relational DB. </div><div><br></div><div>Is this, perhaps, a bug or a good feature request?  </div><div><br></div><div>Thanks,</div><div>Cliff<br clear="all"><div><br></div></div></div></blockquote><div><br></div><div>Hi Cliff,</div><div><br></div><div>Perhaps this will solve your issue:  <a href="https://github.com/qgis/QGIS/pull/32487">https://github.com/qgis/QGIS/pull/32487</a></div><div>It will be in QGIS 3.12</div><div><br></div><div>Hope this helps.<br></div><div><br></div>--</div><div class="gmail_signature">Alessandro Pasotti<br></div><div dir="ltr" class="gmail_signature">w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div>