vba - clone a recordset which have some attachments -


i wanted copy recordset another.

i found code:

do while not rs(1).eof     ' can place if condition here     rs(2).addnew     = 0 rs(1).fields.count - 1         rs(2).fields(rs(1).fields(i).name) = rs(1).fields(i).value     next     rs(2).update     rs(1).movenext loop 

it works problem have attachments fields in recordsets , boucle block on them. have solution?


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -