Here's my code:
Every time it brings up a blank report, and not the report that I specify. According to the help files it's supposed to be a report template. Is a report template different than a regular report? If so, in what way? I basically used the wizard to create a new report, edited it to taste, and saved it with the name above (I've double-checked it to be sure). But still I get the blank report.
Thanks for your help!
thx!
Q-
Code:
Sub NormalReport()
Dim rpt As Report
Dim strReport As String
strReport = "zrptActionTables"
Set rpt = CreateReport(, strReport) ' Create minimized report.
rpt.RecordSource = "qryStepActions_Design"
DoCmd.Restore ' Restore report.
Set rpt = Nothing
End Sub
Every time it brings up a blank report, and not the report that I specify. According to the help files it's supposed to be a report template. Is a report template different than a regular report? If so, in what way? I basically used the wizard to create a new report, edited it to taste, and saved it with the name above (I've double-checked it to be sure). But still I get the blank report.
Thanks for your help!
thx!
Q-