Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 17th, 2006, 7:33 AM   #1
JoseCardoso
Newbie
 
Join Date: May 2006
Posts: 4
Rep Power: 0 JoseCardoso is on a distinguished road
Rave Reports BE 6.0

I need examples for starting using Rave Reports on code based.
JoseCardoso is offline   Reply With Quote
Old May 17th, 2006, 7:46 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
People in hell need ice water. Please read the forum's rules/FAQ and a "How To Ask a Question" thread. Then consider that this is a community of volunteers who give their help at no charge. After all that, you might want to rephrase your question, or move it to the "Hire A Geek" forum.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old May 18th, 2006, 6:02 PM   #3
skoob
Newbie
 
skoob's Avatar
 
Join Date: May 2006
Location: AZ
Posts: 8
Rep Power: 0 skoob is on a distinguished road
Send a message via MSN to skoob Send a message via Yahoo to skoob
Did you use google? If don't "like my old friend says" Please read the forum's rules/FAQ and a "How To Ask a Question" thread. We are better than that.
__________________
What is more powerful 357magnum, 9mm, 45ACP, or C++?
skoob is offline   Reply With Quote
Old May 19th, 2006, 7:52 AM   #4
JoseCardoso
Newbie
 
Join Date: May 2006
Posts: 4
Rep Power: 0 JoseCardoso is on a distinguished road
Sorry but is the first time that I use a forum and I have some difficulties on writing in English because I’m Portuguese from Azores islands, but I will try.

I have using QuickReport in Delphi 6 like this example:

procedure TfrmDockChildFiles.EditPrintExecute(Sender: TObject);
var
  iLeft      : Integer;
  sTitle     : String;
  LQuickRep  : TQuickRep;
  LQRLabel   : TQRLabel;
  LQRDBText  : TQRDBText;

begin
  inherited;

  sTitle := GetLongHint(FModalAction.Hint);
  if Copy(sTitle,Length(sTitle),Length(sTitle)) = '.' then sTitle := Copy(sTitle,1,Length(sTitle)-1);
  sTitle := UpperCase(sTitle);

  LQuickRep := TQuickRep.Create(Self);
  LQuickRep.DataSet := dsFile.DataSet;
  LQuickRep.Bands.HasColumnHeader := True;
  LQuickRep.Bands.HasDetail := True;

  LQuickRep.Bands.ColumnHeaderBand.Frame.DrawBottom := True;
  LQuickRep.Bands.ColumnHeaderBand.Height := LQuickRep.TextHeight(LQuickRep.Bands.ColumnHeaderBand.Font,'X') + 3;
  LQuickRep.Bands.DetailBand.Height := LQuickRep.TextHeight(LQuickRep.Bands.DetailBand.Font,'X');

  iLeft := 0;
  LQRLabel := TQRLabel.Create(LQuickRep);
  LQRLabel.Name := 'LQRLabelCod' ;
  LQRLabel.Parent := LQuickRep.Bands.ColumnHeaderBand;
  LQRLabel.Caption := fraFileMostrar.DBGridFiles.Columns[0].Title.Caption;
  LQRLabel.Left := iLeft;
  LQRLabel.Width := fraFileMostrar.DBGridFiles.Columns[0].Width;

  LQRDBText := TQRDBText.Create(LQuickRep);
  LQRDBText.Name := 'LQRDBTextCod';
  LQRDBText.Parent := LQuickRep.Bands.DetailBand;
  LQRDBText.DataSet := LQuickRep.DataSet;
  LQRDBText.DataField := fraFileMostrar.DBGridFiles.Columns[0].FieldName;
  LQRDBText.Left := iLeft;
  LQRDBText.Width := fraFileMostrar.DBGridFiles.Columns[0].Width;

  iLeft := iLeft + LQRLabel.Width ;

  LQRLabel := TQRLabel.Create(LQuickRep);
  LQRLabel.Name := 'LQRLabelMostrarNome' ;
  LQRLabel.Parent := LQuickRep.Bands.ColumnHeaderBand;
  LQRLabel.Caption := fraFileMostrar.DBGridFiles.Fields[1].DisplayName;
  LQRLabel.Left := iLeft;
  LQRLabel.Width := fraFileMostrar.DBGridFiles.Columns[1].Width;

  LQRDBText := TQRDBText.Create(LQuickRep);
  LQRDBText.Name := 'LQRDBTextMostrarNome';
  LQRDBText.Parent := LQuickRep.Bands.DetailBand;
  LQRDBText.DataSet := LQuickRep.DataSet;
  LQRDBText.DataField := fraFileMostrar.DBGridFiles.Fields[1].FieldName;
  LQRDBText.Left := iLeft;
  LQRDBText.Width := fraFileMostrar.DBGridFiles.Columns[1].Width;

  frmPreview.ShowReport(LQuickRep,sTitle);


end;



I’m trying doing something like this in Rave Report. I thing is possible but I’m just starting with Rave.
JoseCardoso is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:16 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC