>Did you try the APPEND FROM all by itself, with no FOR, to see if that works?
The APPEND FROM alone works, so it may be the "workpo.code" or the field is using reserved word (I even also have "date" as a field name, ensuring that we all do that, as the RULE #1 states "Every rule can/must be broken").
Today is tomorrow's yesterday.