<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум компьютерной помощи &mdash; Удалить документ с коллекции lotus]]></title>
	<link rel="self" href="https://itpmr.ru/extern.php?action=feed&amp;tid=1024&amp;type=atom" />
	<updated>2017-05-30T05:21:02Z</updated>
	<generator>PunBB</generator>
	<id>https://itpmr.ru/viewtopic.php?id=1024</id>
		<entry>
			<title type="html"><![CDATA[Удалить документ с коллекции lotus]]></title>
			<link rel="alternate" href="https://itpmr.ru/viewtopic.php?pid=124664#p124664" />
			<content type="html"><![CDATA[<p>Этот небольшой лотус-скрипт удаляет по условию документы с существующей коллекции документов.</p><div class="codebox"><pre><code>Set doc =     dc.GetFirstDocument
        Do    While Not (doc Is Nothing)
            If doc.ParentDocumentUNID&lt;&gt;&quot;&quot; Then
                Set parentdoc=db2.GetDocumentByUNID(doc.ParentDocumentUNID)    
                If parentdoc.tiraspol(0) &lt;&gt; region  Then &#039; по городам 
                Set doctmp = doc
                Set doc = dc.getNextDocument(doctmp)
                Call                dc.DeleteDocument(doctmp)        &#039; удаление
            Else
            Set doc = dc.getNextDocument(doc)
            End If
                Else
    Set doc = dc.getNextDocument(doc)
        End If
        Loop</code></pre></div>]]></content>
			<author>
				<name><![CDATA[admin]]></name>
				<uri>https://itpmr.ru/profile.php?id=2</uri>
			</author>
			<updated>2017-05-30T05:21:02Z</updated>
			<id>https://itpmr.ru/viewtopic.php?pid=124664#p124664</id>
		</entry>
</feed>
