because PassNum is typed SmallInteger 2 while PASS is typed LongInteger 5. I ran it in an ArcCatalog python window and I got a message window right away saying "The calculated value is invalid for the row with ObjectID = 0. For example, the calculated value may be too large for the field or you may be trying to add a string to a number field. ...." However the Calculate Field tool ran successfully. So is there a way to change the data type while calculating the field in arcpy, because I'd like to batch process a bunch of shapefiles like this.