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  
 
programming4us programming4us