RE: [DUG]: Very Strange Quick Report
It is strange, if I tell the detail band to not print the the summary band does not get filled with the correct values. I have a lot of reports that set the band height to 0. If it is 0, then there should be no room for anything to display. Lucky I found that setting the Enabled property to False worked. But it is strange since the other reports still work fine, and they just set the band height to 0. Christopher Crowe (Software Developer) Microsoft MVP, MCP Adrock Software Byte Computer & Software LTD P.O Box 13-155 Christchurch New Zealand Phone/Fax (NZ) 03-3651-112 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Patrick Dunford > Sent: Tuesday, 6 April 1999 18:37 > To: Multiple recipients of list delphi > Subject: RE: [DUG]: Very Strange Quick Report > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Not to me :) > > A detail band will be generated for every single record in your datasource > (this is normal), quickreport probably does this even if the band > height is > set to 0. I don't know how it saves the QRP file, but presumably it must > have > an image for x number of zero-height detail bands all on top of > each other. > > > > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Chris Crowe > > Sent: Tuesday, 6 April 1999 12:04 > > To: Multiple recipients of list delphi > > Subject: RE: [DUG]: Very Strange Quick Report > > > > > > I set the band.Enabled property to false and the problem went > > away. The other reports to not have this set. > > > > Very very Strange. > > > > Chris > > > > Christopher Crowe (Software Developer) > > Microsoft MVP, MCP > > > > Byte Computer & Software LTD > > P.O Box 13-155 > > Christchurch > > New Zealand > > Phone/Fax (NZ) 03-3651-112 > > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > > Behalf Of Chris Crowe > > > Sent: Tuesday, 6 April 1999 11:52 > > > To: Multiple recipients of list delphi > > > Subject: [DUG]: Very Strange Quick Report > > > > > > > > > Hi all, > > > > > > I have a rather strange quick report that I created. I have a > > > summary band which has a lot of summary fields, about 25 of them. > > > They use function in the Expression component to do their work. > > > > > > I have two modes of displaying the report. > > > > > > 1) Show the detail band and all records (about 17 pages) > > > 2) Do not show the detail band. I set the heigh of the detail > > > band to 0, and then run my report as usual. > > > > > > Now the problem is with #2, the detail band with a height of 0 is > > > showing the records really fast overwriting each other at the top > > > of the report after the page header. Then after about 3-5 seconds > > > of this my summary band is displayed. If I move a window over the > > > preview near where the scrolling was it starts again. This is > > > after the report is generated. > > > > > > If I save the report to a quick report file, it is over 2 megs, > > > even though the summary is only about 10 lines. And in my > > > external previewer it also shows the scrolling when the report > > is loaded. > > > > > > Any ideas?, I have used this method for about 20 other reports > > > with no problems. This report is pretty standard as far as what > > > it does but this behaviour is wierd. > > > > > > Christopher Crowe (Software Developer) > > > Microsoft MVP, MCP > > > > > > Byte Computer & Software LTD > > > P.O Box 13-155 > > > Christchurch > > > New Zealand > > > Phone/Fax (NZ) 03-3651-112 > > > > > > -- > > > - > > > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > > > Website: http://www.delphi.org.nz > > > > > > > -- > > - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > > -BEGIN PGP SIGNATURE- > Version: PGPfreeware 6.0.2i > > iQA/AwUBNwkCup/ufSMMVdBMEQLogQCgvbk4s6+08rHDtdKfb5PAAA0PmiUAnjli > rpNjPogc4OAniuLqz895NCup > =Mmir > -END PGP SIGNATURE- > > -- > - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG]: Very Strange Quick Report
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not to me :) A detail band will be generated for every single record in your datasource (this is normal), quickreport probably does this even if the band height is set to 0. I don't know how it saves the QRP file, but presumably it must have an image for x number of zero-height detail bands all on top of each other. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Chris Crowe > Sent: Tuesday, 6 April 1999 12:04 > To: Multiple recipients of list delphi > Subject: RE: [DUG]: Very Strange Quick Report > > > I set the band.Enabled property to false and the problem went > away. The other reports to not have this set. > > Very very Strange. > > Chris > > Christopher Crowe (Software Developer) > Microsoft MVP, MCP > > Byte Computer & Software LTD > P.O Box 13-155 > Christchurch > New Zealand > Phone/Fax (NZ) 03-3651-112 > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Chris Crowe > > Sent: Tuesday, 6 April 1999 11:52 > > To: Multiple recipients of list delphi > > Subject: [DUG]: Very Strange Quick Report > > > > > > Hi all, > > > > I have a rather strange quick report that I created. I have a > > summary band which has a lot of summary fields, about 25 of them. > > They use function in the Expression component to do their work. > > > > I have two modes of displaying the report. > > > > 1) Show the detail band and all records (about 17 pages) > > 2) Do not show the detail band. I set the heigh of the detail > > band to 0, and then run my report as usual. > > > > Now the problem is with #2, the detail band with a height of 0 is > > showing the records really fast overwriting each other at the top > > of the report after the page header. Then after about 3-5 seconds > > of this my summary band is displayed. If I move a window over the > > preview near where the scrolling was it starts again. This is > > after the report is generated. > > > > If I save the report to a quick report file, it is over 2 megs, > > even though the summary is only about 10 lines. And in my > > external previewer it also shows the scrolling when the report > is loaded. > > > > Any ideas?, I have used this method for about 20 other reports > > with no problems. This report is pretty standard as far as what > > it does but this behaviour is wierd. > > > > Christopher Crowe (Software Developer) > > Microsoft MVP, MCP > > > > Byte Computer & Software LTD > > P.O Box 13-155 > > Christchurch > > New Zealand > > Phone/Fax (NZ) 03-3651-112 > > > > -- > > - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > > > -- > - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.0.2i iQA/AwUBNwkCup/ufSMMVdBMEQLogQCgvbk4s6+08rHDtdKfb5PAAA0PmiUAnjli rpNjPogc4OAniuLqz895NCup =Mmir -END PGP SIGNATURE- --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG]: Very Strange Quick Report
I set the band.Enabled property to false and the problem went away. The other reports to not have this set. Very very Strange. Chris Christopher Crowe (Software Developer) Microsoft MVP, MCP Byte Computer & Software LTD P.O Box 13-155 Christchurch New Zealand Phone/Fax (NZ) 03-3651-112 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Chris Crowe > Sent: Tuesday, 6 April 1999 11:52 > To: Multiple recipients of list delphi > Subject: [DUG]: Very Strange Quick Report > > > Hi all, > > I have a rather strange quick report that I created. I have a > summary band which has a lot of summary fields, about 25 of them. > They use function in the Expression component to do their work. > > I have two modes of displaying the report. > > 1) Show the detail band and all records (about 17 pages) > 2) Do not show the detail band. I set the heigh of the detail > band to 0, and then run my report as usual. > > Now the problem is with #2, the detail band with a height of 0 is > showing the records really fast overwriting each other at the top > of the report after the page header. Then after about 3-5 seconds > of this my summary band is displayed. If I move a window over the > preview near where the scrolling was it starts again. This is > after the report is generated. > > If I save the report to a quick report file, it is over 2 megs, > even though the summary is only about 10 lines. And in my > external previewer it also shows the scrolling when the report is loaded. > > Any ideas?, I have used this method for about 20 other reports > with no problems. This report is pretty standard as far as what > it does but this behaviour is wierd. > > Christopher Crowe (Software Developer) > Microsoft MVP, MCP > > Byte Computer & Software LTD > P.O Box 13-155 > Christchurch > New Zealand > Phone/Fax (NZ) 03-3651-112 > > -- > - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
[DUG]: Very Strange Quick Report
Hi all, I have a rather strange quick report that I created. I have a summary band which has a lot of summary fields, about 25 of them. They use function in the Expression component to do their work. I have two modes of displaying the report. 1) Show the detail band and all records (about 17 pages) 2) Do not show the detail band. I set the heigh of the detail band to 0, and then run my report as usual. Now the problem is with #2, the detail band with a height of 0 is showing the records really fast overwriting each other at the top of the report after the page header. Then after about 3-5 seconds of this my summary band is displayed. If I move a window over the preview near where the scrolling was it starts again. This is after the report is generated. If I save the report to a quick report file, it is over 2 megs, even though the summary is only about 10 lines. And in my external previewer it also shows the scrolling when the report is loaded. Any ideas?, I have used this method for about 20 other reports with no problems. This report is pretty standard as far as what it does but this behaviour is wierd. Christopher Crowe (Software Developer) Microsoft MVP, MCP Byte Computer & Software LTD P.O Box 13-155 Christchurch New Zealand Phone/Fax (NZ) 03-3651-112 --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz