Ver Mensaje Individual
  #6 (permalink)  
Antiguo 18/01/2002, 19:28
Avatar de Aston
Aston
 
Fecha de Ingreso: mayo-2001
Ubicación: Madrid
Mensajes: 933
Antigüedad: 24 años
Puntos: 0
Re: Guardar datos de un SELECT

Hola owen:

Creo que el problema es sencillo. Me parece que no cierras la última comilla:

Cambia esto...

<pre>
sSQL=&quot;UPDATE rotabla Set Rpregunta1a = '&quot; &amp; Rpregunta1a _
&amp; &quot;', Rpregunta1b = '&quot; &amp; Rpregunta1b &amp; &quot;', ......., Opregunta5 = '&quot; _
&amp; Opregunta5 &amp; &quot;', Opregunta6 = '&quot; &amp; Opregunta6
conn.execute (sSQL)
</pre>

Por esto:

<pre>
sSQL=&quot;UPDATE rotabla Set Rpregunta1a = '&quot; &amp; Rpregunta1a _
&amp; &quot;', Rpregunta1b = '&quot; &amp; Rpregunta1b &amp; &quot;', ......., Opregunta5 = '&quot; _
&amp; Opregunta5 &amp; &quot;', Opregunta6 = '&quot; &amp; Opregunta6 &amp; &quot;'&quot;
conn.execute (sSQL)
</pre>


Cuéntame si te funciona, un abrazo, Owen.
;)

<a href="http://www.laventanita.net/" target="_blank">
<img src="http://www.breogan.org/images/Aston.gif" border="0" alt="La Ventanita.net - Lo imprescindible en la red"></a>