Report contains a nesting error (Error 1645)

A user-defined function in a report form has called REPORT FORM.