<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум компьютерной помощи &mdash; Lock - проверка документа на блокировку.]]></title>
	<link rel="self" href="https://itpmr.ru/extern.php?action=feed&amp;tid=1017&amp;type=atom" />
	<updated>2016-12-29T07:43:57Z</updated>
	<generator>PunBB</generator>
	<id>https://itpmr.ru/viewtopic.php?id=1017</id>
		<entry>
			<title type="html"><![CDATA[Lock - проверка документа на блокировку.]]></title>
			<link rel="alternate" href="https://itpmr.ru/viewtopic.php?pid=124639#p124639" />
			<content type="html"><![CDATA[<p>Два варианта лотус скрипта, которые проверяют, заблокирован ли документ.</p><div class="codebox"><pre><code>        LName = doc.GetItemValue( &quot;LockHolders&quot; )
        LDate = doc.GetItemValue( &quot;$WritersDate&quot; )
        If ( Len(LDate(0))+ Len(LName(0)) )&gt;0 Then &#039; Document Locked
            Print &quot;1.ЗАБЛОКИРОВАН &quot; &amp; doc.FullName(0)
        End If</code></pre></div><p>&nbsp; &nbsp; &nbsp; &nbsp; <br /></p><div class="codebox"><pre><code>        If doc.LockHolders(0) &lt;&gt; &quot;&quot; Then
            Print &quot;2.ЗАБЛОКИРОВАН &quot; &amp; doc.FullName(0) 
            Print doc.LockHolders(0) 
        End If</code></pre></div><p>Рабтает, еслив базе стоит галочка блокировки и указан мастер сервер для блокировки в АЦЛ.</p>]]></content>
			<author>
				<name><![CDATA[admin]]></name>
				<uri>https://itpmr.ru/profile.php?id=2</uri>
			</author>
			<updated>2016-12-29T07:43:57Z</updated>
			<id>https://itpmr.ru/viewtopic.php?pid=124639#p124639</id>
		</entry>
</feed>
