How To Save any attachment to folder Outside My Database (1 Viewer)

a7mad1990

New member
Local time
Today, 04:22
Joined
Feb 17, 2023
Messages
26
i need code vba to save any attachment to folder outside my database "Behind DB File" called "Attachments"
i have 4 fields on my Form "FrmWeeklyRep" and i need to save the attachments to folder outside my database
and i have 1 field on my Form "FrmOrder" and i need to save the attachments to same folder with subfolder called "AttachmentTransfere" outside my database

i need to save the attachment with his "original name+Currunt Data" filename

i need vba code to save it out side my DB Not on my BD So you don't get too big DB file with me

thanks For All
 

Attachments

  • save.png
    save.png
    32.7 KB · Views: 70
  • vb4arb.accdb
    1.9 MB · Views: 84

Gasman

Enthusiastic Amateur
Local time
Today, 02:22
Joined
Sep 21, 2011
Messages
14,317
See Similar threads at the bottom of this post.
 

a7mad1990

New member
Local time
Today, 04:22
Joined
Feb 17, 2023
Messages
26
This does not match what I mean in my topic
 

Pat Hartman

Super Moderator
Staff member
Local time
Yesterday, 21:22
Joined
Feb 19, 2002
Messages
43,302
You keep referring to these "things" as attachments. That has a specific meaning. Attachments are files that you have loaded as attachments into your Access database. Are you talking about exporting them from your .accdb and storing them as normal files in some server-side folder? And if so, why doesn't the link provided by @June7 work?
 

Users who are viewing this thread

Top Bottom