Visual Basic.NET - REPORTES

 
Vista:

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
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
sin imagen de perfil

RE:REPORTES

Publicado por P. J. (706 intervenciones) el 14/08/2007 22:06:34
YA HAS CONSULTADO MAS ANTES LO MISMO, ESO ES ERROR DE SQL!!!!

EL ERROR ES QUE NO SABES HACER TU CONSULTA, POR FAVOR REVISA BIEN ESO Y AL AGRUPARLO EN EL CRYSTAL.

NO LLENEN EL FORO CON ESTE TIPO DE CONSULTAS!!!
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar