Solved

QuickReport's problem

Posted on 2001-08-03
5
411 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

734 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