To compile the code in a codeunit, use the following procedure.

To compile the code in a codeunit

  1. Click the Tools menu and then click Compile.

  2. If any errors are found in your code, you receive an error message. Correct the errors and compile the code again.

See Also