How to calculate in Report Designer
I'm trying to do a simple calculation in report designer and I get a control script failure.
Create Calculated Field AREAGIS: Shape_Area() * 10.7639.
DataField = AREAGIS. Anyone know what is worng?
0
-
...did some testing, any other numeric field works but Shape_Area() throws an error, I only list it I can't use it in a mathematical expression. Anyone explain why? 0 -
Is "Shape_Area()" the actual fieldname in the dataset (including parenthesis)? Maybe you could double check that? 0 -
Hi Patrick,
I tried on my end and didn't have any issues, but my area field was just Shape_Area without the parenthesis. I'd echo Berend's suggestionm though I think the formatting for the field name depends on the database. My hunch would be either the field name is wrong, or the field name is right but the parenthesis are breaking the expression for reporting0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare