Hi,
I would also think the way Bernhard is describing it below. But I do
think that we need a more fine-grained way for each column to specify
whether it should use the last value or the default value. But in
general, if not specified otherwise, the last value should have
precedence.
Andreas
Am 2015-06-29 09:04, schrieb Bernhard Ströbl:
Hi,
my expectation would be just the other way round: if I (globally) set
"reuse last values" I would expect them to override any defaults.
Bernhard
Am 28.06.2015 um 09:55 schrieb didier peeters:
Hi Andreas,
it would be nice to have these options:
by default the default values precede the last inserted values
(otherwise defining default values would be somehow useless), except
where specified otherwise in the field definitions. So there would be
an option in each field definition (a checkbox, next to the default
value definition field) stating that the last non null inserted values
do precede the default one.
Cheers,
Didier
Le 26 juin 2015 à 14:15, Andreas Neumann <[email protected]> a
écrit :
Hi,
When doing anything with "default" values we also have to think about
the option we have which automatically fills in the values of the
last inserted record.
Which one has precedence? The default value or the value of the last
record?
Also - I think we probably need a mixture of default values and
values from the last record - but I think the values of the last
record are not fine-grained enough - so we could tell QGIS to use the
values from the last record for some columns but for other columns
use the default value.
We have to think about both approaches and need a collaboration of
both, in my opinion.
Andreas
On 26.06.2015 12:14, didier peeters wrote:
Thanks,
I’ll surely take a look at your plugin, and open a ticket if
necessary.
@Stefan : I had seen that post by Nathan Woodrow, but was hoping for
something ‘lighter’ …
Didier
Le 26 juin 2015 à 11:32, Bernhard Ströbl <[email protected]>
a écrit :
Hi,
if you define the values as default in PostgreSQL and use my :)
plugin DataDrivenInputMask [1] these values are inserted in the
mask that is created by the plugin in QGIS. Thus for fields with
defaults you cannot insert NULL vallues (but that's why you define
a default).
Bernhard
http://plugins.qgis.org/plugins/DataDrivenInputMask/
Am 26.06.2015 um 10:08 schrieb didier peeters:
Hello,
Simple question : is there a way to set a default value for an
attribute in QGis ?
I have Postgis layers in QGis in which I’m inserting or updating
data, and I would like that some fields would be filled
automatically unless I fill them myself. Well that’s the
definition of a default value, and I don’t think that using layers
stored in Postgis would make any difference.
Thanks
Didier
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
__________ Information from ESET Mail Security, version of virus
signature database 11847 (20150626) __________
The message was checked by ESET Mail Security.
http://www.eset.com
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
Didier Peeters
Institut de Gestion de l'Environnement et d'Aménagement du
Territoire (IGEAT)
Université Libre de Bruxelles (ULB)
CP130/03
av. F. D. Roosevelt 50
B-1050 Bruxelles
Tél : +32-2-650 68 17
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
__________ Information from ESET Mail Security, version of virus
signature database 11858 (20150629) __________
The message was checked by ESET Mail Security.
http://www.eset.com
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user