hello how Can I sned paramters to exporting report ??
Opening report with paramters it's not a problem:
parameters = " pl_data_od between '" & Forms!View_Rep1!Tekst10 & "' and '" & Forms!View_Rep1!Tekst12 & "'"
stDocName = "repMyPlane"
DoCmd.OpenReport stDocName, acViewPreview, , parameters
and export the report:
stDocName = "repMyPlane"
DoCmd.OutputTo acReport, stDocName
???
bye
Opening report with paramters it's not a problem:
parameters = " pl_data_od between '" & Forms!View_Rep1!Tekst10 & "' and '" & Forms!View_Rep1!Tekst12 & "'"
stDocName = "repMyPlane"
DoCmd.OpenReport stDocName, acViewPreview, , parameters
and export the report:
stDocName = "repMyPlane"
DoCmd.OutputTo acReport, stDocName
???
bye