Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/05/2008, 10:37
Chuy
 
Fecha de Ingreso: mayo-2005
Mensajes: 14
Antigüedad: 20 años, 1 mes
Puntos: 0
update en tabla .vfp

hola a todos
quiero actualizar un registro de mi tabla pero me marca :
Tipo de error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Visual FoxPro Driver]Cannot update the cursor.

me podran ayudar para ver cual es el detalle ?



Código HTML:
<% Set oConn=Server.CreateObject("ADODB.Connection") %>
     <% oConn.Open="Driver={Microsoft Visual FoxPro Driver}; SourceType=DBF; DBQ=" & Server.Mappath("datos/2008/comp505.dbf")%> 
 <%sSQL="update " & Server.Mappath("datos/2008/comp505.dbf") & " SET fechahorar='" & now() &"' WHERE pref='" & pref1 & "' and folio='" & folio1 & "'"%>
<%set RS = oConn.Execute(sSQL)%>