I have a polygon dataset and I would like to label the area of all polygons which have
"kamer" in the column
I tried some expressions but I get different Errors. Two examples of what I tried is the following:
Function FindLabel ( [Area], [type] ) if ([type] = 'kamer') then FindLabel = UCase([Area]) end if End Function
This gives me the following error:
The expression contains an error.
Modify the expression and try again.
Error 1 on line 16.
Another expression I tried is:
def FindLabel ([Soort_kamer], [Oppervlakte]): if int([Soort_kamer]) = 'kamer': return [Oppervlakte]