BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using TQRExp width D6

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Luis Espinoza
Guest





PostPosted: Wed Oct 06, 2004 4:34 pm    Post subject: Using TQRExp width D6 Reply with quote



Hi,
I am currently using Delphi 6 Enterprise Edition (with Update 2) and QR3
(included with Delphi) and when I try to use
one TQRExp in the summary band dont show any value or error message, just
dont show anything.

The QR access the database using one TSQLDataSet with the following command

select departamentom.cod_departamento,
departamentom.nombre,
count(captura.extension) as numllamadas,
sum(captura.duracion) as totduracion,
max(captura.duracion) as maxduracion,
min(captura.duracion) as minduracion,
avg(captura.duracion) as produracion,
sum(captura.monto) as montollamadas

from departamentom, departamentod, captura, extension, usrpbx
where departamentom.cod_departamento = departamentod.cod_departamento
and departamentod.detalle = extension.num_extension
and captura.usuario = usrpbx.cod_usrpbx
and captura.extension = extension.num_extension
group by departamentom.cod_departamento,
departamentom.nombre
order by departamentom.cod_departamento,
departamentom.nombre

and the QRExp use then following expression sum(montollamadas)

What's wrong? Any Idea?

TIA.

Luis Espinoza
[email]lcruz (AT) corp-ods (DOT) com[/email]


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.