Recent content by UnionWarDog

  1. U

    Export blob OLE Object Field Item instead of Attachment Field

    Hi jdraw, I changed the immediate window to Call ExtractAllBLOBS("tblBlobtest","BlobField","E:\TempImages\","filename") and was able to extract the file but the extracted image says it's an unknow format. I tried a .jpg, jpeg and .bmp file and they all say they are unknow formats. Good news...
  2. U

    Export blob OLE Object Field Item instead of Attachment Field

    Hi jdraw! Thanks for the info!! I made basic table as mentioned and pasted the code in the module but got the below debug message: Run-time error '75: Path/File access error Debug stops at: 150 Open FullOutputFile For Binary As #intFileNum The table I made was: tblBlobTest...
  3. U

    Export blob OLE Object Field Item instead of Attachment Field

    Hi guys, I have a code to extract the Attachment field of a table but would rather extract the OLE Object field. How can I change the script to pull the OLE Object ([Image]) instead of the Attachment field ([GenImage]). Here is table data: LeadersDBList...
  4. U

    Solved Exporting Image Files from Table - Having File Naming Issues

    Works perfect now! :) I just need to change the field "Unit Name" to"Unitcard". That was my mistake! THANK YOU, arnelgp. Greatly Appreciated!!
  5. U

    Solved Exporting Image Files from Table - Having File Naming Issues

    arnelgp, I pasted the code in the module but no luck. the 2 files export were only the name of the attachment, not relabeled as the [Unitcard] fields. LeadersDBList DSTATESizeUtypeGenSideNationFolderUnit NameUnitCardImageGenImage 1BulgarianDepartmentLeaderRebel GenearlBulgarianDepartment...
  6. U

    Solved Exporting Image Files from Table - Having File Naming Issues

    When I try somethign like this it doesn't work. Do Until rsAttachments.EOF Dim outputFileName As String outputFileName = rsAttachments.Fields("FileName").Value (Changed it to.... .Fields("UnitCard").Value but that didn't work)...
  7. U

    Solved Exporting Image Files from Table - Having File Naming Issues

    I updated the "Code" text correctly now. Thanks for pointing that out. I am able to successfully export the attachments for each line but want to rename the files with the name of the field [Unitcard] & .bmp. That' where I'm stuck. Export works great but many of the attachments are the same...
  8. U

    Solved Exporting Image Files from Table - Having File Naming Issues

    Thanks for the quick feedback guys! Much appreciated!. The key issue isn't being able to extract the attachment file. The issue is I want to rename the file as the name of column [Unitcard]. Currently it exports it and names the file as the original attachment name. I'm not sure how to...
  9. U

    Solved Exporting Image Files from Table - Having File Naming Issues

    Hi guys! I'm trying to export attachments from my table and relabel the file as the name from a column from the table [UnitCard]. Currently it exports them as the name of the attachment. Here are the column names: LeadersDBList IDSTATESizeUtypeGenSideNationFolderUnit...
Back
Top Bottom