Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 01-08-2001, 02:36 AM
traca traca is offline
Junior Member
Join Date: Jan 2001
Posts: 28
Default QReport & TQuery question (D5)

I have TQuery and TDBGrid on a form. The grid show the different results of SQL which are created dinamically (the String property of Query is empty).
TQuickRep is on different form. When I press the button on first form, the second, with TQuickRep became visible. There are 4 QRDBText components (because the result in DBGrid on first form have 4 coloumns) on Detail band with AutoStretch & AutoSize property set to true. The DataSet of QuickRep1 is properly configured. There are in OnActivate event of the form with report:


But I can see only the first row from DBGrid1. How to show the others?
Reply With Quote
Old 01-09-2001, 03:12 AM
digitiger digitiger is offline
Senior Member
Join Date: Jan 2001
Posts: 716
Default RE: QReport & TQuery question (D5)

though in your question you said that the dataset property of the quickreport is configured but i bet that you have not because that is the only case when despite the datasource holding multiple records the quickreport displays a single record based on the controls dataset property and doesnot run it in loop from first record to last
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 10:39 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.