LOCAL lcFileString SELECT "MyTable" COPY TO tmpTable FIELDS YourGeneralField NEXT 1 lcFileString=FILETOSTR("tmpTable.fpt") ERASE "tmpTable.fpt" ERASE "tmpTable.dbf" lcFileString = RIGHT(lcFileString,LEN(lcFileString) - 599) =STRTOFILE(lcFileString, "MyExport.bmp"That is some interesting code. Do you know or does anyone knows if the same technique could be used to extract a DOC, XLS and PDF to preserve their intact format? Because, when we use the Object.SaveAs() property, in this case a Word file, the file that ends up being saved on the disk is way corrupted.