[QGIS-Developer] row_number and other functions missing from form and symbology
Paolo Cavallini
cavallini at faunalia.it
Thu Oct 22 00:01:59 PDT 2020
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
More information about the QGIS-Developer
mailing list