Hi,
When I used Calculate Field tool in model builder, the experssion type (VB or Python) and the code block are not changed to align with the setting in "Field Calculator" window (click the little calculator icon). It will generate an error if the types are not the same.
When using the tool manually, the expression type and code block will be automatically changed.
Could someone help me about this? Thanks.