REPORTES
Publicado por efrain (20 intervenciones) el 14/08/2007 19:47:56
Hola, NECESITO AYUDA, el problema es el siguiente:
Tengo tres tablas en sql
Costos
Paciente
Tratamiento
Y me genera este reporte
Paciente EFRAIN ALFONSO
Historia No.
Orden Servicios
SANABRIA
79800872
5303 NUCLEO $ 41.000,00 5 $ 205.000,00
5303 NUCLEO $ 41.000,00 5 $ 205.000,00
5303 NUCLEO $ 41.000,00 5 $ 205.000,00
5303 NUCLEO $ 41.000,00 5 $ 205.000,00
Total Paciente: $ 820.000,00
Paciente EJEMPO
Historia No.
Orden Servicios
DD
54
c:\ejemplo.bmp $ 0,00 5 $ 0,00
c:\ejemplo.bmp $ 0,00 5 $ 0,00
Total Paciente: $ 0,00
Paciente JKJKJ
Historia No.
Orden Servicios
KJLKJ
2121
5303 NUCLEO $ 41.000,00 3 $ 123.000,00
Total Paciente: $ 123.000,00
Paciente JULIO
Historia No.
Orden Servicios
MORA
1111111
5303 NUCLEO $ 41.000,00 1 $ 41.000,00
5303 NUCLEO $ 41.000,00 1 $ 41.000,00
5303 NUCLEO $ 41.000,00 1 $ 41.000,00
Total Paciente: $ 123.000,00
Total Cuenta: $ 1.066.000,00
1
Al ingresar otros pacientes sigue sumando a las cuentas ya cobradas
Tengo tres tablas en sql
Costos
Paciente
Tratamiento
Y me genera este reporte
Paciente EFRAIN ALFONSO
Historia No.
Orden Servicios
SANABRIA
79800872
5303 NUCLEO $ 41.000,00 5 $ 205.000,00
5303 NUCLEO $ 41.000,00 5 $ 205.000,00
5303 NUCLEO $ 41.000,00 5 $ 205.000,00
5303 NUCLEO $ 41.000,00 5 $ 205.000,00
Total Paciente: $ 820.000,00
Paciente EJEMPO
Historia No.
Orden Servicios
DD
54
c:\ejemplo.bmp $ 0,00 5 $ 0,00
c:\ejemplo.bmp $ 0,00 5 $ 0,00
Total Paciente: $ 0,00
Paciente JKJKJ
Historia No.
Orden Servicios
KJLKJ
2121
5303 NUCLEO $ 41.000,00 3 $ 123.000,00
Total Paciente: $ 123.000,00
Paciente JULIO
Historia No.
Orden Servicios
MORA
1111111
5303 NUCLEO $ 41.000,00 1 $ 41.000,00
5303 NUCLEO $ 41.000,00 1 $ 41.000,00
5303 NUCLEO $ 41.000,00 1 $ 41.000,00
Total Paciente: $ 123.000,00
Total Cuenta: $ 1.066.000,00
1
Al ingresar otros pacientes sigue sumando a las cuentas ya cobradas
Valora esta pregunta


0