Hey Miquel,make sure the data type of the field you want to insert the result to matches the data type of the result itself. You might need to convert an array to a string if I understand you correctly.
Cheers, Hannes Am 21.01.22 um 12:04 schrieb Miquel Pujol Garcia:
*Hello Qgisers,* I'm trying to insert in a field* a serial data number (2,4,6,8,10,...) using _generate_series_ from array group. When I purpose the syntax in Calculate Camps in the table, I can see the correct result but when I execute the values aren't inserted in the field. The objects are lines in a Geopackage. Does someone use generate_series and know-how run well? *field = enter number: long 10 Thanks, *------------------------* *Miquel* _______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-- Johannes Kröger / GIS-Entwickler/-Berater WhereGroup GmbH Grevenweg 89 20537 Hamburg Germany Tel: +49 (0)228 / 90 90 38 - 36 Fax: +49 (0)228 / 90 90 38 - 11 [email protected] www.wheregroup.com Geschäftsführer: Olaf Knopp, Peter Stamm Amtsgericht Bonn, HRB 9885 ------------------------------- --------------------------------------------- Schon gewusst? In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software und berichten aus unserem Experten-Alltag: https://wheregroup.com/blog/ ---------------------------------------------
OpenPGP_0xBF7B268A77C202D5.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
