Function MakeNewReport()
Dim rpt As Report
Dim strOldName, strNewName As String
strNewName = "GingerReport"
Set rpt = CreateReport
DoCmd.Restore
strOldName = rpt.Name
DoCmd.Save acReport, strOldName
DoCmd.Close acReport, strOldName, acSaveNo
DoCmd.Rename strNewName, acReport, strOldName
End Function