To add a code module to a form or report, you must switch to Design view and set the HasModule property of the form or report ...