Edwin.<br><br>Es extraño lo que dices porque el script que asigna los números de control elimina el campo y luego lo crea. <br><br>Verifica que no existan registro bloqueados en la base de datos: pudiera ser que si un registro está bloqueado no le asigne el número.<br>
<br>Prueba y me avisas<br><br>Respecto al  número de control de los registros ingresados por z3950 me extraña que digas que te copia el número de control porque está programado para que si el registro es nuevo deje el campo en blanco.<br>
<br>Por favor, verifica en el script dataentry/dibujarhojadeentrada.php , si la función TextBox  tiene lo siguiente:<br><br><font size="1"><font size="2"><span style="font-family: courier new,monospace;">function TextBox($linea,$fondocelda,$titulo,$ver,$len,$tag,$ksc,$rep,$delimrep,$ayuda){</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> global $ixicampo,$valortag,$arrHttp,$Path,$Marc,$db_path,$lang_db,$msgstr,$MD5;</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> $t=explode(&#39;|&#39;,$linea);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> $tipo=rtrim($t[7]);</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> if ($t[0]==&quot;AI&quot;) {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">     $tipo=&quot;AI&quot;;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">     if ($arrHttp[&quot;Mfn&quot;]==&quot;New&quot;)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">         $valortag[$tag]=&quot;&quot;;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> }<br><br>La instruccion </span></font></font><font size="1"><font size="2"><span style="font-family: courier new,monospace;">if ($t[0]==&quot;AI&quot;) verifica si el campo es del tipo autoincremental y si es así, y si es un registro nuevo, entonces le borra el valor del campo.<br>
<br>A mi está funcionando correctamente con la creación de los registros vía Z39.50<br><br>Saludos,<br><br>Guilda<br></span></font></font><br><div class="gmail_quote">2010/12/3 Edwin Hübner <span dir="ltr">&lt;<a href="mailto:edwin@datacoop.com.br">edwin@datacoop.com.br</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">(English bellow)<br>
Prezados,<br>
Além do problema já reportado e para o qual já existe um Ticket (veja Ticket #396) de manter o número de controle do registro original, quando se cria um registro novo via cópia Z3950 ou de base de dados ABCD, esta acontecento outro problema:<br>

Quando vou corrigir os número de controle, usando o utilitário &quot;Atribuir número de controle&quot; sequêncialmente por MFNs, observei que alguns não foram corrigidos, permanecendo os anteriores que estavam no registro copiado. Alguém já teve este problema?<br>

<br>
<br>
Besides the problem already reported and for which there is a ticket (see Ticket #396)  keeping the control number of the original record, when creating a new record via copy Z3950 or ABCD database, I got another problem:<br>

When I fix the control number, using the utility &quot;Assign control number&quot; sequentially by MFNs, I noticed that some were not corrected, keeping the previous ones that were  in the copied record. Has anyone had this problem?<br>

<br>
<br>
_______________<br>
Edwin Hübner<br>
<br>
<br>
<br>
_______________________________________________<br>
isis-users mailing list<br>
<a href="mailto:isis-users@iccisis.org" target="_blank">isis-users@iccisis.org</a><br>
<a href="http://lists.iccisis.org/listinfo/isis-users" target="_blank">http://lists.iccisis.org/listinfo/isis-users</a><br>
</blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>