Hi Nyall,

Il 22/10/20 01:12, Nyall Dawson ha scritto:

> These are only available in contexts where the function is used in a
> table -- e.g. field calculator, layout attribute tables, etc. But they
> aren't available outside of tables (for symbology, forms, etc) where
> there aren't any concept of "rows" to number.

Thanks for your explanation. I intended to use row_number in an
expression to set a default value for a data entry form, it seems a
valid user case to me. I solved the issue with max+1, anyway.
Cheers.

-- 
Paolo Cavallini
www.faunalia.eu - QGIS.org
training, support, development on QGIS, PostGIS and more
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to