Okay ... I started from scratch and only added the datasource as the datatable.
It still printed the PJL code.
I did find what it is, though. It is the ReportTitle. I commented out the line with the reporttitle and it printed properly. When I uncommented the reporttitle, that is when the PJL code printed instead of the report.
Case "OVERVIEW", "OVERVIEWD"
objRpt = New rptOVERVIEW
objRpt.SetDataSource(dsOverview)
objRpt.SummaryInfo.Dispose()
objRpt.SummaryInfo.ReportTitle = "Overview Report" & strReportHeader & vbCrLf & strContactPhone
strReportComments = strVersion
objRpt.SummaryInfo.ReportComments = strReportComments
Can you think of any reason why?
Thanks for all of your input!!
Eddi Rae