Solved

QuickReport's problem

Posted on 2001-08-03
5
406 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

910 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

23 Experts available now in Live!

Get 1:1 Help Now