<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Copy/Clone a selected document to a new document including richtext field, e.g.</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/copyclone-a-selected-document-to-a-new-document-including-richtext-field-eg/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/copyclone-a-selected-document-to-a-new-document-including-richtext-field-eg/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Jun 2013 21:45:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: edvabnik</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/copyclone-a-selected-document-to-a-new-document-including-richtext-field-eg/#comment-98457</link>
		<dc:creator>edvabnik</dc:creator>
		<pubDate>Mon, 31 Oct 2011 10:38:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-98457</guid>
		<description><![CDATA[Here you are:

	Dim s As New NotesSession
	Dim w As New NotesUIWorkspace
	Dim UIDoc As NotesUIDocument
	Dim db As NotesDatabase
	Dim col As NotesDocumentCollection
	Dim doc As NotesDocument, NewDoc As NotesDocument

	Set db = s.CurrentDatabase
	Set col = db.UnprocessedDocuments
	Set doc = col.GetFirstDocument

	Set NewDoc = db.CreateDocument
	Call doc.CopyAllItems(NewDoc)
	Set UIDoc = w.EditDocument(True, NewDoc)
	Call UIDoc.Refresh]]></description>
		<content:encoded><![CDATA[<p>Here you are:</p>
<p>	Dim s As New NotesSession<br />
	Dim w As New NotesUIWorkspace<br />
	Dim UIDoc As NotesUIDocument<br />
	Dim db As NotesDatabase<br />
	Dim col As NotesDocumentCollection<br />
	Dim doc As NotesDocument, NewDoc As NotesDocument</p>
<p>	Set db = s.CurrentDatabase<br />
	Set col = db.UnprocessedDocuments<br />
	Set doc = col.GetFirstDocument</p>
<p>	Set NewDoc = db.CreateDocument<br />
	Call doc.CopyAllItems(NewDoc)<br />
	Set UIDoc = w.EditDocument(True, NewDoc)<br />
	Call UIDoc.Refresh</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.014 seconds using memcached
Object Caching 267/270 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-18 22:10:20 -->