
26/11/2009, 15:28
|
| | Fecha de Ingreso: agosto-2009
Mensajes: 19
Antigüedad: 15 años, 8 meses Puntos: 0 | |
Yo tenia una duda parecida y el codigo esta en el foro TENIA QUE PASAR UNA FILA SELECCIONADA EN UN DBGRID Y PASARLA A OTRA TABLA
UTILICE; ALGO ASI:
For I = 0 To DBGrid1.SelBookmarks.Count - 1
Data1.Recordset.Bookmark = DBGrid1.SelBookmarks(I)
AVARDATA = Data1.Recordset.GetRows(1) 'AQUI SE PASA EL REGISTRO SELECCIONADO AL ARRAY
'AQUI INSERTAS LOS VALORES:
Data1.Database.Execute "INSERT INTO [" & Text1.Text & "] " ...... 'AQUI ESCRIBES E VALUES LOS VALORES DEL ARRAY
NEXT |