<name> = Me.Record.LngValue("Fid") * 10.
Este código lee el valor del FID del atributo y lo multiplica por 10.
dim columnName AS String dim scale as integer columnName = Me.FunctionParameters.Item(0) ' First parameter scale = Me.FunctionParameters.Item(1)' Second parameter if Me.Record.IsDBNull(columnName) then MyRound = "--" 'Attribute value is empty else dim value as double value = Me.Record.DblValue(columnName) if value = 999999 then MyRound = "Infinite" else MyRound = System.Math.Round(value, scale) end if end if
{Fun.MyRound("column_name1",2) {Fun.MyRound("column_name2",7)}