Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/05/2008, 16:55
Chuy
 
Fecha de Ingreso: mayo-2005
Mensajes: 14
Antigüedad: 20 años
Puntos: 0
Re: update en tabla .vfp

me sigue sin funcionar cual sera el error
me sigue marcando cannot update the cursor

ya le estuve moviendo y nada ... no me actualiza

Código HTML:
<% Dim Base, Rs, ConnStr, sSql, contador, where, color,oConn  %>
  <% Set oConn=Server.CreateObject("ADODB.Connection") %>
  <% oConn.Open="Driver={Microsoft Visual FoxPro Driver}; SourceType=DBF; SourceDB=" & Server.Mappath("datos/2008") & ";Exclusive=No; Collate=Machine;"%> 
 <%sSQL="update comp505 SET fechahorar='" & now() &"' WHERE pref='" & pref1 & "' and folio='" & folio1 & "'"%>

<%set RS = oConn.Execute(sSQL)%>