Home Subreports

Subreport with colums and AV

edited November 2002 in Subreports

After upgrading from 6.03 to 7.0 (Delphi 5 Pro) an report with folloving
setup produces AV (Stack list included in the end of the message)

On main report's detail band there is only subreport of type pbChild.
This subreport has 2 columns, column witdh 95 (positions 10 and 105) and
column traversal Left to Right.


Exception class: EAccessViolation
Exception message: Access violation at address 00523024 in module
'PARK.exe'. Read of address 00000000
Exception address: 00523024
IsMainThread: True

Stack list, generated 04.11.2002 21:45:26
[00523024] ppHorizontalBandEngine.TppHorizontalBandEngine.StartColumn
[00523024] ppHorizontalBandEngine.TppHorizontalBandEngine.StartColumn
[0063180A] JclHookExcept.HookedExceptObjProc (Line 185, "JclHookExcept.pas")
[0040361D] System.@HandleAnyException
[00500065] ppPrnDev.TppPrinterDevice.DrawBMP
[00523024] ppHorizontalBandEngine.TppHorizontalBandEngine.StartColumn
[00522D1B] ppHorizontalBandEngine.TppHorizontalBandEngine.BeforePrint
[0055D1B3] ppClass.TppBand.GetObject
[00521A27] ppBandEngine.TppBandEngine.ResetObjects
[00521914] ppBandEngine.TppBandEngine.Generate
[005276CE] ppBands.TppDetailBand.Generate
[0051D9F9] ppEngine.TppEngine.GenerateBands
[0051D4D6] ppEngine.TppEngine.GeneratePage
[0051D6F4] ppEngine.TppEngine.RestorePage
[0051D29A] ppEngine.TppEngine.Generate
[0051D193] ppEngine.TppEngine.RequestPage
[0051A55E] ppReport.TppReport.RequestPage
[0051A5A7] ppReport.TppReport.RequestPage
[0057B777] ppDevice.TppPublisher.DoOnPageRequest
[0057B5B0] ppDevice.TppPublisher.Publish
[0057E7B3] ppProd.TppProducer.PublishReport
[0057E82F] ppProd.TppProducer.PrintToDevices
[0057E848] ppProd.TppProducer.PrintToDevices
[0051A44A] ppReport.TppReport.PrintToDevices
[0051A46B] ppReport.TppReport.PrintToDevices
[0057F0FF] ppProd.TppProducer.PreviewFormActivateEvent
[004FCE76] ppForms.TppForm.Activate
[00569391] ppPrvDlg.TppPrintPreview.Activate
[00569368] ppPrvDlg.TppPrintPreview.Activate
[0045574C] Forms.TCustomForm.CMActivate
[0043B74C] Controls.TControl.WndProc
[0043E297] Controls.TWinControl.WndProc
[00455C42] Forms.TCustomForm.CMShowingChanged
[00455D64] Forms.TCustomForm.CMShowingChanged
[00455D80] Forms.TCustomForm.CMShowingChanged
[0043B74C] Controls.TControl.WndProc
[0043E297] Controls.TWinControl.WndProc
[0043DE97] Controls.TWinControl.MainWndProc
[0043DEAE] Controls.TWinControl.MainWndProc
[00453337] Forms.TCustomForm.WndProc
[00413D41] Classes.TThreadList.UnlockList
[004249CD] Graphics.FreeMemoryContexts
[0043DE97] Controls.TWinControl.MainWndProc
[0043DEAE] Controls.TWinControl.MainWndProc
[00453337] Forms.TCustomForm.WndProc
[0043DE97] Controls.TWinControl.MainWndProc
[0043DEAF] Controls.TWinControl.MainWndProc
[00450872] Forms.StdWndProc
[00459041] Forms.TApplication.WndProc
[0045621E] Forms.TCustomForm.ShowModal
[004562B3] Forms.TCustomForm.ShowModal
[00456354] Forms.TCustomForm.ShowModal
[00456374] Forms.TCustomForm.ShowModal
[0057F384] ppProd.TppProducer.DoOnPreviewFormCreate
[0057E908] ppProd.TppProducer.PrintToScreen
[0057E721] ppProd.TppProducer.Print
[0057E740] ppProd.TppProducer.Print
[005199F6] ppReport.TppReport.Print

Any idea how to fix this?

TIA
ain

Comments

This discussion has been closed.