[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-developer
Subject:    Re: [QGIS-Developer] row_number and other functions missing from form and symbology
From:       Paolo Cavallini <cavallini () faunalia ! it>
Date:       2020-10-22 6:58:48
Message-ID: 5d914390-1d94-866d-8e08-18b0ad986e23 () faunalia ! it
[Download RAW message or body]

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
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic