![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#3
|
|||
|
|||
|
Muchas gracias ecfisa
Me sirvio de mucho tu codigo solo lo modifique un poco,y me oriento bastante. lo dejo para que alguien le sirva.
procedure TFORMSELECT1.BitBtn4Click(Sender: TObject); var i: Integer; begin if DBGSELECT1.SelectedRows.Count = 0 then begin Exit; end else begin for i := 0 to DBGSELECT1.SelectedRows.Count-1 do begin DBGSELECT1.DataSource.DataSet.GotoBookmark(TBookmark(DBGSELECT1.SelectedRows.Items[i])); DataModule1.FDQINS_RES2.SQL.Clear; DataModule1.FDQINS_RES2.SQL.Add('INSERT INTO resultados(id_tur_res, fec_res)'); DataModule1.FDQINS_RES2.SQL.Add('VALUES(:ID_TUR_RES, :FEC_RES)'); DataModule1.FDQINS_RES2.ParamByName('ID_TUR_RES').Value := DBGSELECT1.DataSource.DataSet.FieldByName('id_tur').Value; DataModule1.FDQINS_RES2.ParamByName('FEC_RES').Value := DBGSELECT1.DataSource.DataSet.FieldByName('fec_tur').Value; DataModule1.FDQINS_RES2.ExecSQL; end; end; end; |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Saber si el registro de un dgbrid tiene algun campo vacio | Vales08 | Varios | 9 | 17-11-2011 13:40:29 |
| Multiseleccion en un DBCtrlGrid | johurgi | Varios | 0 | 25-08-2006 11:29:29 |
| multiseleccion con TTreeView | jymy788 | Varios | 1 | 05-01-2005 18:29:33 |
| MonthCalendar MultiSeleccion | EITB | OOP | 2 | 08-10-2004 22:43:56 |
| multiseleccion en listview | NuncaMas | Varios | 5 | 20-02-2004 11:07:52 |
|