Hi, No workaround. QGIS makes relations on the tables that are loaded in QGIS. You will always need both tables. Régis
Le ven. 13 mars 2020 à 21:21, Jean-Philippe Chenel <[email protected]> a écrit : > Hi, > > I've a question regarding the Value Relation Widget under Layer > Properties/Attributes Forms. Making the configuration work very well to > bind a field to a list of values of another table in the project. > > When all is done, I make a qlr file to save all the layer definitions. > > The problem appears when I reload the qlr file without all the relational > tables. The fields are bound, but the values aren’t displayed. To make this > work, I need to add the relational tables to the project too. > > Does it have a workaround or an alternative to make it work without adding > all the tables to the project? I saw in the qlr file that the connection to > postgresql and all needed information are in the file to make it work. > > Database: postgresql 9.6 > QGIS version 3.10.3 > Layers and tables are in the database. > > With best regards, > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
