izen
Registered User.
- Local time
- Today, 20:20
- Joined
- Apr 2, 2009
- Messages
- 50
As I used the code from http://www.lebans.com/reporttopdf.htm to create PDF
It works good
But I have some question about it which is adding critiria in parameter of function ConvertReportToPDF.
'Public Function ConvertReportToPDF( _
'Optional RptName As String = "", _
'Optional SnapshotName As String = "", _
'Optional OutputPDFname As String = "", _
'Optional ShowSaveFileDialog As Boolean = False, _
'Optional StartPDFViewer As Boolean = True, _
'Optional CompressionLevel As Long = 150, _
'Optional PasswordOpen As String = "", _
'Optional PasswordOwner As String = "", _
'Optional PasswordRestrictions As Long = 0, _
'Optional PDFNoFontEmbedding as Long = 0, _
'Optional PDFUnicodeFlags As Long = 0 _
') As Boolean
' RptName is the name of a report contained within this MDB
can we add the critiria in "RptName"?
for example
"rIngredient", WhereCondition:=varWhere
varWhere is the critiria that we want to extract info
any suggestion ?
cheers,
It works good
But I have some question about it which is adding critiria in parameter of function ConvertReportToPDF.
'Public Function ConvertReportToPDF( _
'Optional RptName As String = "", _
'Optional SnapshotName As String = "", _
'Optional OutputPDFname As String = "", _
'Optional ShowSaveFileDialog As Boolean = False, _
'Optional StartPDFViewer As Boolean = True, _
'Optional CompressionLevel As Long = 150, _
'Optional PasswordOpen As String = "", _
'Optional PasswordOwner As String = "", _
'Optional PasswordRestrictions As Long = 0, _
'Optional PDFNoFontEmbedding as Long = 0, _
'Optional PDFUnicodeFlags As Long = 0 _
') As Boolean
' RptName is the name of a report contained within this MDB
can we add the critiria in "RptName"?
for example
"rIngredient", WhereCondition:=varWhere
varWhere is the critiria that we want to extract info
any suggestion ?
cheers,