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

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -