Hi Wilfred

It's not something as simple as the QrDBText's Dataset property not being set, 
is it?
I know its absence from your code here does not necessarily imply that it is, 
just thought I'd check.

Regards
Steve

 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Wilfried 
Mestdagh
Sent:   07 March 2006 15:36
To:     Delphi Talk
Subject:        Tquickreport

procedure TMain.Button1Click(Sender: TObject);
begin
   ADOConnection.Connected := True;
   ADOQuery.SQL.Clear;
   ADOQuery.SQL.Add('select * from Rx');
   ADOQuery.Active := True;

   QR.QrDbText1.DataField := ADOQuery.FieldByName('TxDT').AsString;
   QR.QrDbText2.DataField := ADOQuery.FieldByName('Msg').AsString;
   QR.QuickRep.Preview;

Rgds, Wilfried
http://www.mestdagh.biz

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

***************************************************************************
This e-mail and any files transmitted with it are confidential. If you are not 
the intended recipient, any reading, printing, storage, disclosure, copying or 
any other action taken in respect of this e-mail is prohibited and may be 
unlawful. If you are not the intended recipient, please notify the sender 
immediately by using the reply function and then permanently delete what you 
have received. Content of emails received by this Trust will be subject to 
disclosure under the Freedom of Information Act 2000, subject to the specified 
exemptions, including the Data Protection Act 1998 and Caldicott Guardian 
principles. This footnote also confirms that this email message has been swept 
by MIMEsweeper and SOPHOS Anti-virus for the presence of computer viruses.
***************************************************************************
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to