FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
otro problema con Firebird
Hola a todos, se ke este tema esta más ke tokado pero kon todo y ke he revisado las respuestas a otros, no he podido resolver el mio .
Lo ke hago es solo seleccionar un registro una tabla y ese agregarlo a una tabla temporal, y agregado debe mostrarse este registro en otro grid, el problema es ke no se ve ke lo haga, debo salir del ejekutable y volver a entrar para ver ke se haya hecho la transaccion. Se ke debo poner "commit" pero me marca error, alguien me puede ayudar? de antemano gracias. kodigo: ibtable1.Open; ibtable2.Open; while not(ibtable1.Eof)do begin if(regselec=string(ibtable1.fieldbyname('CANCION').value))then begin ibtable2.Insert; ibtable2.FieldByName('ID').Value:=ibtable1.FieldByName('ID').Value; ibtable2.FieldByName('CANCION').Value:=ibtable1.FieldByName('CANCION').Value; ibtable2.FieldByName('ARTISTA').Value:=ibtable1.FieldByName('ARTISTA').Value; ibtable2.FieldByName('ALBUM').Value:=ibtable1.FieldByName('ALBUM').Value; ibtable2.FieldByName('UBICACION').Value:=ibtable1.FieldByName('UBICACION').Value; ibtable2.Post; ibtransaction2.Commit; end; ibtable1.next; end; ibtable1.Close; ibtable2.Close; |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Correr aplicación con firebird en K\: y S.O. en otro disco | coyotaxo | Conexión con bases de datos | 0 | 12-10-2005 22:01:23 |
Problema acceso a popiedad otro formulario | mguixot | OOP | 1 | 07-09-2005 15:42:15 |
problema al crear un formulario de otro ya creado | soyhugo | Varios | 2 | 01-02-2004 13:11:54 |
Otro problema relacionado con filtros (urgente) | ADN | Conexión con bases de datos | 6 | 28-07-2003 13:50:44 |
otro problema... | superhopi | OOP | 9 | 15-05-2003 10:26:40 |
|