I'm having a problem with an application of mine. I'm getting an
EIBInterBaseError when trying to generate a report using QR Design and Quick
Report. Especially when the reports have over 10 pages in length and more
than 400 records.
Here's the call stack and the error message:
Exception 'EIBInterBaseError' in module QRDesignLibrary.dll at 000F2C42
arithmetic exception, numeric overflow, or string truncation
Source file: UNKNOWN, Line UNKNOWN
Call stack:
:03CC3C42 [QRDesignLibrary.dll] Ib.IBDataBaseError
:03CC82A6 [QRDesignLibrary.dll] Ibsql.TIBSQL.Next
:03CD489B [QRDesignLibrary.dll]
Ibcustomdataset.TIBCustomDataSet.InternalGetRecord
:03CD4799 [QRDesignLibrary.dll] Ibcustomdataset.TIBCustomDataSet.GetRecord
:03C578D7 [QRDesignLibrary.dll] Db.TDataSet.GetNextRecord (Db.pas, line
9134)
:03C5808D [QRDesignLibrary.dll] Db.TDataSet.MoveBy (Db.pas, line 9383)
:03C581F5 [QRDesignLibrary.dll] Db.TDataSet.Next (Db.pas, line 9427)
:03CB7DD1 [QRDesignLibrary.dll] Quickrpt.TQRController.Execute
(QuickRpt.pas, line 1562)
:03CBCF9C [QRDesignLibrary.dll] Quickrpt.TCustomQuickRep.Print
(QuickRpt.pas, line 4126)
:03CC07E3 [QRDesignLibrary.dll] Qrpbasectrls.TEQuickRep.Print
(qrpBaseCtrls.pas, line 118)
:03D828DC [QRDesignLibrary.dll] Qrdesign.TDesignQuickReport.Print
(QRDesign.pas, line 3676)
:03D51459 [QRDesignLibrary.dll]
Qrdform.TReportDesignerForm.PrintSpeedButtonClick (QRDForm.pas, line 318)
:03C0BDF8 [QRDesignLibrary.dll] Controls.TControl.Click
:03C0C16D [QRDesignLibrary.dll] Controls.TControl.DoMouseUp
:03C0E541 [QRDesignLibrary.dll] Controls.TWinControl.IsControlMouseMsg
:03C0E327 [QRDesignLibrary.dll] Controls.TWinControl.MainWndProc
:03C2126A [QRDesignLibrary.dll] Forms.StdWndProc
:77E12E98 [user32.dll]
:77E130E0 [user32.dll]
:77E15824 [user32.dll]
:03D55388 [QRDesignLibrary.dll] Qrddlgs.TReportDesignerDialog.NewReport
(qrddlgs.pas, line 589)
:03ECBDBA [QRDesignLibrary.dll] Reportform.NewReport (ReportForm.pas, line
111)
:006A3DD0 [Codiac.exe]
:005DE9C9 [Codiac.exe]
:00437D31 [Codiac.exe]
:005DC669 [Codiac.exe]
:0044CD6A [Codiac.exe]
:77E12E98 [user32.dll]
:77E130E0 [user32.dll]
:77E15824 [user32.dll]
:006A4865 [Codiac.exe]
:77E97D08 [kernel32.dll]
Registers:
EAX = 0012A414 CS = 001B EIP = 77E8F142 Flags = 00000202
EBX = 00000002 SS = 0023 ESP = 0012A40C EBP = 0012A464
ECX = 00000000 DS = 0023 ESI = 0012A498 FS = 003B
EDX = 03CC3C42 ES = 0023 EDI = 0012A444 GS = 0000
Code at CS:EIP
E9 7F A6 02 00 83 65 C0 00 EB EB 64 A1 18 00 00
Stack:
14000001 FFFFFCDE 0EEDFADE 00000001 00000000
0012F4C4 047CB51C 00000000 00000000 00000000
00000000 00000000 00000000 00000000 77E97D08
047CB505 050964C8 05094F0B 05096228 00016D0B
Can anybody help me with this problem? Or at least point me in the right
direction?
Thanks in advance.
Daniel Rail
Senior System Engineer
ACCRA Med Software Inc. (www.filopto.com)
That error tends to be a field that is too small on the client side for the data
being retrieved from the client. If you persist the TFields for a dataset and
you change the field size you must change the persisted field too.
Daniel Rail wrote:
>
> Hi,
>
> I'm having a problem with an application of mine. I'm getting an
> EIBInterBaseError when trying to generate a report using QR Design and Quick
> Report. Especially when the reports have over 10 pages in length and more
> than 400 records.
>
> Here's the call stack and the error message:
>
> Exception 'EIBInterBaseError' in module QRDesignLibrary.dll at 000F2C42
> arithmetic exception, numeric overflow, or string truncation
>
--
Jeff Overcash (TeamB) I don't think there are any Russians
(Please do not email And there ain't no Yanks
me directly unless Just corporate criminals
asked. Thank You) Playing with tanks. (Michael Been)
Probably the question should be: Why do this error occurs only after a
certain number of records?
Daniel Rail
"Jeff Overcash (TeamB)" <over...@onramp.net> wrote in message
news:3B7B4A66...@onramp.net...
Daniel Rail wrote:
>
> The error still persists when I recreate the report from scratch in the
> report editor(QR Design). QR Design uses IBX for Interbase connectivity.
> And, like I said the error occurs after a certain number of records were
> processed for printing and those records do proceed on being printed.
>
> Probably the question should be: Why do this error occurs only after a
> certain number of records?
>
> Daniel Rail
>
--