![]() |
![]() |
| 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 |
|
#14
|
|||
|
|||
|
Encontré este código que crea el clientdataset y lo enlaza con el query a través de un provider, luego enlazar a quickreport el clientdataset.
Prueba a ver si te sirve: Código:
Var
DtStPrvdr : TDataSetProvider;
ClntDtSt : TClientDataSet;
Begin
Try
DtStPrvdr := TDataSetProvider.Create;
DtStPrvdr.DataSet := SqlQuery1;
ClntDtSt := TClientDataSet.Create;
ClntDtSt.SetProvider(DtStPrvdr);
// Ligue aqui o seu relatório ao ClntDtSt, ao ínves de ligar a SqlQuery1;
// ExibirRelatorio; //
Finally
FreeAndNil(DtStPrvdr);
FreeAndNil(ClntDtst);
End;
End;
|
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Reporte sin datos | Nomad | Impresión | 3 | 25-09-2013 04:33:07 |
| Reporte agrupando datos | ingabraham | Impresión | 9 | 13-07-2011 15:20:35 |
| reporte con varios datos | ingabraham | Impresión | 0 | 14-10-2010 19:48:47 |
| Mostrar datos en reporte | natalinuyo | Varios | 3 | 22-03-2007 21:08:53 |
| Actualizar datos de una base de datos en un reporte | Marymania | Impresión | 4 | 27-11-2006 19:47:32 |
|