Consulta también:
- Vb6 update
- Nod32 update download zip - Foro de Virus / Seguridad
- Descargar actualización de antivirus ESET NOD32 ✓ - Foro Software
- Actualización de nod32 ✓ - Foro Software
- Pagina para descargar gratis la actualización del NOD32 4.2.71.2 ✓ - Foro Internet
- Nod32 update download zip cuba - Foro Hardware
11 respuestas
Dim res As New ADODB.Recordset
Dim Rresultado As New ADODB.Recordset
Dim ssql as string
ssql = "Select * from FACTURAS where FACTURACODIGO = 1"
Rresultado.Open ssql, CONFOX, adOpenDynamic, adLockOptimistic
CONFOX.EXECUTE "update FACTURAS set FACTURACODIGO = 4 where FACTURACODIGO = 1"
CONFOX ES LA CONEXION
yo lo haria Asi:
Dim BD1 As Database
Dim RS1 As Recordset
Dim sSQL1 As String
Set BD1 = OpenDatabase(C:\basededatos.mdb)
sSQL1 = "Select * from FACTURAS where FACTURACODIGO = 1"
Set RS1 = BD1.OpenRecordset(sSQL1, dbOpenDynaset)
Do While Not RS1.EOF()
RS1.Edit
RS1("FACTURACODIGO") = 4
RS1.Update
RS1.Movenext
Loop
saludos
Dim Rresultado As New ADODB.Recordset
Dim ssql as string
ssql = "Select * from FACTURAS where FACTURACODIGO = 1"
Rresultado.Open ssql, CONFOX, adOpenDynamic, adLockOptimistic
CONFOX.EXECUTE "update FACTURAS set FACTURACODIGO = 4 where FACTURACODIGO = 1"
CONFOX ES LA CONEXION
yo lo haria Asi:
Dim BD1 As Database
Dim RS1 As Recordset
Dim sSQL1 As String
Set BD1 = OpenDatabase(C:\basededatos.mdb)
sSQL1 = "Select * from FACTURAS where FACTURACODIGO = 1"
Set RS1 = BD1.OpenRecordset(sSQL1, dbOpenDynaset)
Do While Not RS1.EOF()
RS1.Edit
RS1("FACTURACODIGO") = 4
RS1.Update
RS1.Movenext
Loop
saludos