Descargar la presentación
La descarga está en progreso. Por favor, espere
Publicada porGodofredo Rolando Modificado hace 10 años
2
Dim VARIABLE As TIPODATO Dim int As Integer = 0 VARIABLE= InputBox(“Digite el Documento a buscar") While Not NOMBRETABLA.EOF And int = 0 If NOMBRETABLA.Fields(0).Value = VARIABLE Then Call Llenar() Esta es la función que llena los campos de texto int = 1 Else NOMBRETABLA.MoveNext() End If End While If int = 0 Then MsgBox("El usuario no se encuentra", MsgBoxStyle.Information, "modificar registro") End If End Sub BOTON BUSCAR
3
NOMBRETABLA.MoveLast() NOMBRETABLA.AddNew() NOMBRETABLA.Fields(0).Value = txtCampo1.Text NOMBRETABLA.Fields(1).Value = txtCampo2.Text NOMBRETABLA.Fields(2).Value = txtcontacto.Text. NOMBRETABLA.Update() MsgBox("Registro Almacenado“) BOTON GUARDAR
4
Proveedores.Fields(0).Value = txtCampo1.Text Proveedores.Fields(1).Value = txtCampo2.Text Proveedores.Fields(2).Value = txtCampo3.Text. Proveedores.Update() MsgBox("Registro actualizado“) BOTON MODIFICAR
5
If MsgBox("¿Esta seguro que desea eliminar el registro?", MsgBoxStyle.YesNo, "Eliminar registros") = MsgBoxResult.Yes Then NOMBRETABLA.Delete() MsgBox("Usuario eliminado") End If BOTON ELIMINAR
Presentaciones similares
© 2025 SlidePlayer.es Inc.
All rights reserved.