Visual Basic - COMO GRABAR DE UN LISTBOX A ACESS

Life is soft - evento anual de software empresarial
 
Vista:

COMO GRABAR DE UN LISTBOX A ACESS

Publicado por HECTOR NICOLAS (17 intervenciones) el 30/01/2002 14:45:57
HOLA,
POR FAVOR SI ALGUIEN SABE, COMO GRABAR DE UN LIST BOX A UNA BASE DE DATOS DE ACCESS, COMO GUARDAR CADA ELEMENTO DE LA LISTA, NO SE COMO HACERLO..

MUCHAS GRACIAS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:COMO GRABAR DE UN LISTBOX A ACESS

Publicado por Harold Valdivia (104 intervenciones) el 01/02/2002 19:53:43
'Espero esto te ayude
Harold valdivia : [email protected]

Dim i As Integer
Private Sub Command1_Click()

For i = 0 To List1.ListCount - 1
With Adodc1.Recordset
.AddNew
!nombredelista = List1.List(i)
.Update
End With
Next i
MsgBox "Datos Guardados correctamente", vbInformation + vbOKOnly, "Información"
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar