Syntax Error Code Statement 2 | 42 Peoplecode
If you’d like, I can help you debug specific code. Just let me know:
The error in PeopleCode is a generic syntax error message meaning "expecting statement" . It occurs during code validation or when saving PeopleCode in Application Designer because the compiler encountered a line it did not expect or cannot parse. Common Causes for Error (2,42) Syntax Error Code Statement 2 42 Peoplecode
: Ensure "Word Wrap" is turned off under the View menu to ensure the statement numbers match what the compiler is reporting. If you’d like, I can help you debug specific code