Controles Base de Datos

2,043 views

Published on

Published in: Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,043
On SlideShare
0
From Embeds
0
Number of Embeds
48
Actions
Shares
0
Downloads
18
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Controles Base de Datos

  1. 1. Controles de Base de DatosProf: Ricardo Viqueira Continuando con el ejercicio anterior de conexión a una base de datos, ocultar el control Adodc, agregar un nuevo Frame y los siguientes controles de comando en Array. Para codificar ingresar al procedimiento Clic del Array de los controles de comando
  2. 2. Private Sub CmdComandos_Click(Index As Integer)Select Case IndexCase Is = 3Adodc1.Recordset.MovePrevious AnteriorCase Is = 2Adodc1.Recordset.MoveNext SiguienteCase Is = 1Adodc1.Recordset.MoveLast ÚltimoCase Is = 0Adodc1.Recordset.MoveFirst PrimeroCase Is = 4Adodc1.Recordset.AddNewText2.SetFocusCase Is = 5Adodc1.Recordset.MovePrevious AnteriorCase Is = 6Adodc1.Recordset.Delete ELIMINARAdodc1.Recordset.MovePrevious AnteriorCase Is = 7EndEnd Select Prof: Ricardo ViqueiraEnd Sub

×