Microsoft
Software
Hardware
Network
Question : How to handle attachment-type fields in Access 2007
Hello Experts,
Someone out there has done this, I'm sure.
I want to copy the contents of an attachment-type field from one record in table 'A' to an attachment-type field in Table 'B'. How do I do it in VBA?
I know it involves something like setting up 2 sets of parent and child recordset of type DAO.recordset2 (I think).
One parent-child pair reads from the source field and the other parent-child pair accepts each "FileData" value into the destination field (have I got that right?).
I just can't find out the details.
Full marks to anyone who supplies a working example.
I'm in a hurry hence the high points tariff.
Thank you!
Answer : How to handle attachment-type fields in Access 2007
After saving the attachments from one table using the SaveAttachments procedure (modified for your needs), you can then load them into the other table using the LoadAttachments procedure.
Random Solutions
Using SaveAs in excel 2007 vba
XP display set to 4 bit color depth after Remote Desktop session
Textboxes in other Tabs in asp.net
Unrecognized database format
RUNDLL error message "jyku.fjo" on computer start up
Access Pivot chart - need different scales on right and left axis
CREATE AN MSDOS BOOT CD FOR ACRONIS, KNOPPIX, GHOST, WINDOWS XP REPAIR CONSOLE!
Division & OLAP Cubes
Getting Microsoft.Win32.RegistryKe<wbr />y from PROFILEINFO.hProfile - from PInvoke to .Net
Best way to push out printers to domain users?