Hi, it seems that the widget's expression context does not have access to the currently edited record.
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, A possible solution would be to add a $currentformfeature to the expression and add the edited feature to the expression context. Would it be a possible solution? Any hint? -- Alessandro Pasotti w3: www.itopen.it
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
