FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
||||
|
||||
Importar datos de Excel a un StringGrid.
Dos problemas
1. hacer esta importacion mas rapida. ya q importo mas de 2.000 registros con 60 campo cda uno. ya que se vuelve muy lenta. 2. mostrar una barra de progreso que vaya acorde al numero de registro en tiempo real. bueno para que el usuario tenga idea lo que se va a demorar mi codigo es el sgte.
__________________
Enseñar es la virtud de un sabio. Última edición por ingabraham fecha: 17-06-2011 a las 15:30:58. |
#2
|
||||
|
||||
Acceder a datos de Excel mediante OLE, que es lo que haces tú, es extremadamente lento. Es mucho más eficiente utilizar ADO. En este hilo se explica como pasar datos de excel a paradox pero la parte de paradox la puedes sustituir por un stringgrid. Lo importante es que te explica cómo configurar ADO para conectarte a una hoja de Excel.
// Saludos |
#5
|
||||
|
||||
ok. ya hice la exportacion excelente por ADO. es rapida
mas de 2.000. registros al strincell.. 1. ahora necesito una barra de progreso que vaya concorde a la importacion de estos datos a mi tabla( que sea real y que se vaya viendo al momento de ir insertando datos)
esta importacion, es bien lenta, no se si armando un procedimiento almacenado seria mas rapido. quien me da alguna idea.
__________________
Enseñar es la virtud de un sabio. Última edición por ingabraham fecha: 19-06-2011 a las 00:54:20. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Importar datos de txt. y excel a paradox | ledesma78 | Conexión con bases de datos | 1 | 09-08-2010 11:06:49 |
Importar Datos desde Excel | oscarac | OOP | 3 | 22-07-2010 08:13:38 |
importar datos de excel a firebird | Choclito | Varios | 6 | 06-02-2007 02:26:10 |
importar de excel a base de datos | axel | Varios | 3 | 26-07-2006 09:47:49 |
importar datos de excel a mi aplicacion | squenda | Varios | 2 | 11-12-2003 03:33:32 |
|