Solved

QuickReport's problem

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

825 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