I upgraded from 9.3 to 10 and found out the calculations for area all have to be redone. The following only works for me when I do not have any if statements - !shape.area@acres! - and if I add /43560 to the end. Can any one help me with this CODE BLOCK that worked in 9.3?
if ([FID_ROW_WA] > -1 AND [FID_row_po] = -1) OR ([FID_ROW_WA] >-1 AND [FID_HYD_WA]>-1 AND [FID_row_po]>-1 AND [FID_cad_pa]>-1) then
Dim dblArea as double
Dim pArea as IArea
Set pArea = [shape]
dblArea = pArea.area
endif
The expression to calc is dblArea/43560.
thanks, Jim