I'm using QGIS 2.4 pyclac and windows 7 OS. I have columns that should show NULL value but instead of that they show Zero (0) value, I need those fields to be NULL. This far I have seen a script that will solve my problem:
TIPO_USO is a string of characters, but VOL_COMER is double, so I need to pass it to NULL as the first field. I'll use the next script, using PyCalc:
Then I get this message:
Field code block does not return 'value' variable! Please declare this variable in your code!
Now I don't know what to do because I don't work with python but I'm sure this will solve my question, I hope :D