![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
#27
|
|||
|
|||
|
primero realizo una búsqueda del dato rfc(es de tipo varchar) en el cuadro de texto txt_rfc(es resultado se visualiza en el dbgrid y el valor buscado queda en el text):
Filtro : String; begin AdoTable1.Filtered := False; AdoTable1.Filtered := False; Filtro := 'rfc = '+txt_rfc.Text; AdoTable1.Filter := Filtro; AdoTable1.Filtered := True; AdoTable1.Open; el código para mandar a imprimir: Try QuickReport1:=TQuickReport1.Create(self); QuickReport1.ADOQuery1.SQL.Text:= 'Select * from cliente where frc = :s'; QuickReport1.ADOQuery1.Parameters[0].Value:= txt_rfc.text; QuickReport1.ADOQuery1.Open; QuickReport1.Preview; finally QuickReport1.Free; |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| CompositeReport y muuuuuchos TQuickRep | fonx | Impresión | 7 | 12-12-2007 15:53:08 |
| Convertir TQuickRep a PDF Delphi 6 | javicho_villa | Impresión | 5 | 23-01-2006 15:13:34 |
| Crear un TQuickRep en tiempo de ejecución | lunatiko | Impresión | 5 | 15-11-2005 11:09:07 |
| TQuickRep en Delphi 7 :'( | KayserSoze | Impresión | 2 | 27-01-2004 17:55:00 |
|