Ver Mensaje Individual
  #3  
Antiguo 23-11-2006
Avatar de Crandel
[Crandel] Crandel is offline
Miembro Premium
 
Registrado: may 2003
Ubicación: Parana, Argentina
Posts: 1.475
Reputación: 23
Crandel Va por buen camino
yo lo que haria seria crear un procedimiento que resuelva para un solo ID

Código SQL [-]
CREATE PROCEDURE INFORME_FACT (ID integer)
.....

Luego llamas a este procedimiento deste Delphi mediante una instruccion SQL, uniendo los diferentes informes

asi:
Código SQL [-]
select * from INFORME_FACT(3) union select * from  INFORME_FACT(4)

Espero que te guste esta solucion
__________________
[Crandel]
Responder Con Cita