it's been 3 weeks since your last post. Haven't found what you're looking for?
From what I understand of this thread, what you want is something that can take a file that has been received in an email and copy that into one of your records in the access database. correct?
If that is so and your email client is anything other than MS Outlook, I would say you're out of luck using Visual Basic "anything". It depends entirely on whether or not VBA has the appropriate libraries. I think we were all surprised when the Firefox library was included. Never thought I'd see the day! However, VBA can manipulate file attachments in Outlook sessions and of course VBA can work in any of the primary office programs. Now, whether it's possible to use that integration ability to copy an attachment object from Outlook over to Access field remains to be seen.
I can tell you that everything I mentioned above is fairly easy EXCEPT moving the attachment between the programs. I'm guessing the code would look something like:
Code:
[OUTLOOK SYNTAX].attachment.copy
that's a possibly, but I doubt it would work. I'm not really sure if Access needs a local path for the attachment field, or if it actually holds that object in the table itself. I'm guessing the latter.
It's also entirely possible that you would have to use VBA to mirror the exact interface process you have to go through to do the same thing (e.g. - save it locally, then updates Access's recordset with the file path).
This method will take some research effort, but I'm almost 100% sure it is possible. MS programs act exactly like windows with regards to the "interface vs. shell" concept. In most of them, clicking is just like running commands from the shell. In windows, clicking on a folder is just a command to the system. Before MS had a windows interface, Bill Gates was doing the same thing with a single command line. He was simply smart enough to assign mouse clicking to those command and make it look pretty...