











Private Sub Comando78_Click()
'
'
' REVISION SIN HALLAR PREDIAL
'
On Error GoTo Err_Comando78_Click
Dim a As Database
Dim b As Recordset
Dim SALE As Boolean
Set a = CurrentDb
Set b = a.OpenRecordset("SUSCRIPTOR", dbOpenTable) //Nombre tabla base datos
If HaySeleccion1 Then
b.Index = "CODIGO"
b.Seek "=", Me.Lista76.Column(9)
SALE = False
While Not b.EOF And SALE = False
If b!CODIGO <> Me.Lista76.Column(9) Then
b.MoveNext
Else
SALE = True
b.Edit
b!REVISADO = True //campo de base datos
b!FEC_REV = Date //campo de base datos
b!HORA_REV = Time //campo de base datos
b!PREDIAL_OK = False //campo de base datos
b.Update
End If
Wend
Me.Lista76.Requery
' MsgBox Me.Lista76.Column(0), vbInformation, "Elemento seleccionado"
End If
Exit_Comando78_Click:
Exit Sub
Err_Comando78_Click:
MsgBox Err.Description
Resume Exit_Comando78_Click
End Sub