The Get ( ActiveFieldName ) function typically returns only the field name, not including the table name. The Set Field By Name script step needs the fully qualified field name, including the table name. Try GetFieldName ( GetField ( Get ( ActiveFieldName ) ) ). I know it seems odd to have such an abstraction inversion, but if it works, that will have to do.
You can also use Get ( activeFieldTableName ) & "::" & Get ( ActiveFieldName )
You get the same result, but it's a bit less convoluted to figure out how it works when you look at it 6 months from now...
Hi Phil, thanks for the tip. True, much less convoluted...