Question : MS Access Docmd.OutputReportTo Network Folder

I need to out put a report into a network folder. The report has to stay in PDF format. The problem is I don't know how too incorporate Docmd.outputTo  with blRet. Would any one have any ideas?

DoCmd.OutputTo acOutputReport, strReport2, "Snapshot Format", "\\cmh1-d1-w-nfs01\webupload\production\intranet\rvi.intranet\VC\Transportation\Reports\Store Delivery Memo " & strToday & "Store Memo.pdf"
     

    blRet = ConvertReportToPDF(strReport2, vbNullString, "strToday & Store Memo.pdf", False, True, 0, "", "", 0, 0)

Answer : MS Access Docmd.OutputReportTo Network Folder

is this what you are after ?

if  blRet = ConvertReportToPDF(strReport2, vbNullString, "strToday & Store Memo.pdf", False, True, 0, "", "", 0, 0) then

DoCmd.OutputTo acOutputReport, strReport2, "Snapshot Format", "\\cmh1-d1-w-nfs01\webupload\production\intranet\rvi.intranet\VC\Transportation\Reports\Store Delivery Memo " & strToday & "Store Memo.pdf"

end if
Random Solutions  
 
programming4us programming4us