Hi:
I need to copy documents with its answers from a database to another.
For your help and attention
Thank you
Daniel Sanchez Marquez
Hi:
I need to copy documents with its answers from a database to another.
For your help and attention
Thank you
Daniel Sanchez Marquez
Subject: Copy documents with answers to other database!
Select the documents and its responses in a view.
Copy then to the clipboard: menu edit copy
Access to the other database and simply: paste
To run properly, you can’t copy responses without its main documents.
You can do it with a view action to copy all the documents:
@command([editselectall]);
@command([editcopy]);
@command([fileopendatabase]; “server”:“db”);
@command([editpaste])
Subject: RE: Copy documents with answers to other database!
Hi:
But i need to do this in an agent that move all those documents to another database.
How can i do that?
Thanks for your help
Daniel Sanchez Marquez
Subject: RE: Copy documents with answers to other database!
Hum… it depends from where you are to run the agent.
First option: you are in a view with the documents. You want to copy all these documents to other database
Solution: Create an action in the view with the formula I tell you in the first answer.
Second option: You want to do it from a link in a navigator.
Solution: Create an agent. Agent Target: NONE (you can use @command).
Agent formula:
@command([openview]; “vista”);
@command([editselectall]);
@command([editcopy]);
@command([fileopendatabase]; “server”:“db2”);
@command([editpaste]);
@command([fileclosewindow]);
@command([fileclosewindow])
I hope one of these solutions was usefull for you. Feel free to tell me your case if not.
Subject: RE: Copy documents with answers to other database!
Thanks for your help, but it was my error, what I need is that the agent run an scheduled on the server.
Daniel Sanchez Marquez
Subject: RE: Copy documents with answers to other database!
With LotusScript, use NotesDocument.Responses to get the collection of response documents. MakeResponse to make the copies of said documents be responses to the copied main document.