Currently I am using the command "Copyallitems" to duplicate a document within the same database.
My code is very simple:
call docA.copyallitem(docB, true)
However, after copying the document, the screen still stay put at the docA. Only upon closing the docA, i can come to docB to change the document detail.
Is it possible to close docA and set focus to docB?
Thanks in advance.