I am writing a scipt to calcualte some ratios and am using the fieldstatistics funciton @FieldStatistics( "column 1 ",6 ). When i run the procedures as a script i am getting an error because field statistics have not been generated on the database prior to the calcualtions. Is there a command that i can use within idescript that will generate fieldstatistics?
profit814
Offline
Last seen: 3 years 10 months ago
Joined: 03/18/2018 - 17:12
Yes there is, here is some example code that will check to see if the fields stats has been computed and if it hasn't then perform the computation.