Solved

QuickReport's problem

Posted on 2001-08-03
5
404 Views
Last Modified: 2013-11-22
I had wrote a form.The following is it's code:
//=================================================
unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls, QuickRpt, ExtCtrls;

type
  TForm1 = class(TForm)
    QuickRep1: TQuickRep;
    QRBand1: TQRBand;
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.DFM}

procedure TForm1.Button1Click(Sender: TObject);
begin
  Qrband1.BandType:=rbTitle;
end;

end.
//=================================================

error message appear when compile:
Undeclared identifier:'rbTitle'.
I don't know why????????
0
Comment
Question by:firstshine
5 Comments
 
LVL 3

Expert Comment

by:rondi
ID: 6348167
Sure it's not btTitle ?
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6348213
you may miss a unit in your uses-clause,
didn't know which yet
0
 
LVL 1

Expert Comment

by:sundayboys
ID: 6348267
i test it,because u miss QuickRpt.pas!
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6348332
QuickRpt is in the uses clause,
i mean another one, where the enumeration types are declared
0
 

Accepted Solution

by:
mmphadke earned 50 total points
ID: 6348414
Include QrPrntr unit in uses clause because TQRBandType is defined in this unit.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now