<p dir="ltr"><br>
On 17 Nov 2015 10:56 PM, "Alessandro Pasotti" <<a href="mailto:apasotti@gmail.com">apasotti@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> it seems that the widget's expression context does not have access to the currently edited record.<br>
><br>
> Maybe I've just not found a way to do that but it's impossible to filter relations with an expression built upon the the values of the "main" record (the one currently edited in the form) because $currentfeature refers to the relation layer, <br>
><br>
> A possible solution would be to add a $currentformfeature to the expression and add the edited feature to the expression context.<br>
><br>
> Would it be a possible solution? <br>
> Any hint?</p>
<p dir="ltr">I can't find the original discussion this relates too... What's the issue you're trying to solve?</p>
<p dir="ltr">Nyall</p>
<p dir="ltr">><br>
> -- <br>
> Alessandro Pasotti<br>
> w3:   <a href="http://www.itopen.it">www.itopen.it</a><br>
><br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</p>