Hi all,
When we ship orders, we generate some paperwork for export and some other documents. These documents are generated through standard NAV reports.
I'd like to store these reports in some BLOB fields for archival purposes (rather than regenerating the reports at a later time).
I've read a number of posts on storing files in BLOBS, but I'm looking for any shortcuts, considering most of them include the step of transferring the files to the server and converting to Base64 first. Since I am thinking about generating the report as a PDF using the REPORT.SAVEASPDF command, the file will already be on the server, i.e.
REPORT.SAVEASPDF(ReportIDToRun,ServerAttachmentFilePath,CustRec);
So "ServerAttachmentFilePath" is the full path and filename of my temp PDF file. What are the statements needed to load this file it into a BLOB field in one of my tables?
Thanks
Ron
Ron
0
Answers
Ashok
ArcherPoint Inc.,
Ron