1) I cannot determine the code to create a Page Footer
Expand|Select|Wrap|Line Numbers
- Set TextBox = CreateReportControl(strDynamicFinalReport, acTextBox, acFooter, , strFieldNM, intFieldPos, intFieldLine, intFieldRptWidth, intFieldHeight)
Error Number: 2148 The number you used to refer to the form or report section is invalid
2) I cannot determine the code to create code for the On Close Event
Expand|Select|Wrap|Line Numbers
- Reports(strDynamicFinalReport).OnClose = "DoCmd.Restore"