Syntax Error Code Statement 2 42 Peoplecode May 2026
Which you are using (e.g., SaveEdit, FieldChange). The exact line of code where the error is occurring. If you are trying to call a function or declare a variable .
: Ensure "Word Wrap" is turned off under the View menu to ensure the statement numbers match what the compiler is reporting. Syntax Error Code Statement 2 42 Peoplecode
The numbers in parentheses represent where the compiler stopped: : The error category (Syntax/Parser error). 42 : The statement number where the compiler failed. Which you are using (e