L
Larry
Good morning,
I recently downloaded the Report to PDF from Stephen Lebans. I have
question about how to pick "one" report have it PDF, not "all" the reports.
What I have:
I have an SOP database so we can standardize our SOP process. The PDF works
great but I want to choose a list of Names of SOP's instead of reports. so
basically I would have a list box just like the one in his example but
instead of showing the reports it would show the names of the different SOP's
in the database. Then I would click on it as normal or click the PDF button
to run the program.
The me.lstRptName.value is where it picks the report to PDF.
So what do I put in the "me.lstRptName" instead?
Larry
My question:
Where do I put that filter criteria?
Private Sub lstRptName_DblClick(Cancel As Integer)
Dim blRet As Boolean
' Call our convert function
blRet = ConvertReportToPDF(Me.lstRptName.Value, vbNullString,
Me.lstRptName.Value & ".PDF", False)
' To modify the above call to force the File Save Dialog to select the name
and path
' for the saved PDF file, simply change the ShowSaveFileDialog param to TRUE.
End Sub
I recently downloaded the Report to PDF from Stephen Lebans. I have
question about how to pick "one" report have it PDF, not "all" the reports.
What I have:
I have an SOP database so we can standardize our SOP process. The PDF works
great but I want to choose a list of Names of SOP's instead of reports. so
basically I would have a list box just like the one in his example but
instead of showing the reports it would show the names of the different SOP's
in the database. Then I would click on it as normal or click the PDF button
to run the program.
The me.lstRptName.value is where it picks the report to PDF.
So what do I put in the "me.lstRptName" instead?
Larry
My question:
Where do I put that filter criteria?
Private Sub lstRptName_DblClick(Cancel As Integer)
Dim blRet As Boolean
' Call our convert function
blRet = ConvertReportToPDF(Me.lstRptName.Value, vbNullString,
Me.lstRptName.Value & ".PDF", False)
' To modify the above call to force the File Save Dialog to select the name
and path
' for the saved PDF file, simply change the ShowSaveFileDialog param to TRUE.
End Sub