Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2009, 06:09 AM
sysmatics sysmatics is offline
Senior Member
 
Join Date: Mar 2005
Location: India
Posts: 283
Default Please Reply / Help

I am

Hello

I am using Quick Report 3.

In that I am using Group Header and Sub Detail bands.

In the Group Header band the heading is written. The report contains 5 Group Header bands. In the out put the Group Header band appears in the top and also above of the Sub detail band. I only want one that print above the Sub Detail band. How to do this?


I am attaching a screen that explains better.

Please Help.

Attached Images
File Type: jpg Report.jpg (81.1 KB, 8 views)
__________________
regards
sridhar
Reply With Quote
  #2  
Old 09-11-2009, 04:30 AM
mhcsoft mhcsoft is offline
Junior Member
 
Join Date: Jul 2009
Posts: 14
Default

Hi:
Firstly you should check the property HeaderBand of the Subdetailbad it has to be empty, otherwise it will show you the header of the groupheader inside the subdetail band
Reply With Quote
  #3  
Old 09-18-2009, 06:27 AM
sysmatics sysmatics is offline
Senior Member
 
Join Date: Mar 2005
Location: India
Posts: 283
Default it didnt work

Hello

Thanks for your time.

Sorry for this much delay as my net was down and my system is crashed.

It didnt work and the problem still persists.

What to do
__________________
regards
sridhar
Reply With Quote
  #4  
Old 09-18-2009, 03:24 PM
GeoWink GeoWink is offline
Senior Member
 
Join Date: Jan 2001
Posts: 785
Default

I find Rave a whole lot better to use for reports. It has the Band stuff but I only use the RVSystem component. Here's a part of your report...

procedure TForm1.RvSystem1PrintHeader(Sender: TObject);
begin
with Sender as TBaseReport do
begin
SetFont('Arial',18);
FontColor := clMaroon;
Bold := True;
GoToXY(4.75,0.8);
PrintCenter('Patient History on Transplant Date 20/05/2009',4.25);
FontSize := 14;
end;
end;

procedure TForm1.RvSystem1Print(Sender: TObject);
begin
with Sender as TBaseReport do
begin
MoveTo(0.5,1.0);
LineTo(8.0,1.0);
GoToXY(0.5,1.4);
FontColor := clGreen;
Underline := True;
PrintLeft('TUBERCULOSIS',0.5);
Underline := False;
Bold := False;
GoToXY(0.5,1.8);
PrintLeft('Date',0.5);
PrintLeft('Diagnosis',2.2);
PrintLeft('Location',3.8);
PrintLeft('Treatment Days',5.4);
PrintLeft('Treatment',7.0);
Bold := True;
Underline := True;
GoToXY(0.5,2.2);
PrintLeft('SEPSIS',0.5);
GoToXY(0.5,2.6);
PrintLeft('NOCARDIA',0.5);
end;
end;

Have you tried Rave?

George
Reply With Quote
  #5  
Old 09-19-2009, 06:40 AM
sysmatics sysmatics is offline
Senior Member
 
Join Date: Mar 2005
Location: India
Posts: 283
Default thanks

Hello Geowink

Thanks for your time.

I do not use rave. i have to try it. I will try the same
__________________
regards
sridhar
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 04:16 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.