PDA

View Full Version : Crystall 9 error number out of range



Tod Brannen
3-Aug-2005, 11:38 AM
Greetings,
I have all my Crystal 9 dlls in the \AppName\programs folder. When I try
to run a report from VDF 9 I get the error above. No line number or
anything. How can I track this down? Before I moved all the DLLs to the
programs folder I was getting 20 or 30 errors that reapeated 'Error Number
out of range' and 'Invalid Job Number' over and over.

Thanks,

Tod Brannen

Tod Brannen
3-Aug-2005, 11:49 AM
Well, I posted this hastily. There is a line number for the error but it is
in the dfallent in a private function on line 24693. But it does not help me
know why it is erroring out.

Tod Brannen

24686>>>>>>> //Doc/ Interface=Private
24686>>>>>>> Function IsTrapped Integer iError Returns Integer
24687>>>>>>> Integer iTrapped
24688>>>>>>> If iError Eq CRW_IGNORE_NUM Function_Return True
24691>>>>>>> If ((iError Lt MIN_CRW_ERROR_NUM) Or (iError Gt
MAX_CRW_ERROR_NUM)) Begin
24693>>>>>>> Error DFERR_CRYSTAL_REPORT C_$ErrorNumberOutOfRange
24694>>>>>>>>
24694>>>>>>> Function_Return 0
24695>>>>>>> End // If ((iError Lt MIN_CRW_ERROR_NUM) Or (iError Gt
MAX_CRW_ERROR_NUM)) Begin
24695>>>>>>>>
24695>>>>>>> Get Array_Value Of (WinQLErrors(self)) Item (iError-500) To
iTrapped
24696>>>>>>> Function_Return (Not(iTrapped))
24697>>>>>>> End_Function // IsTrapped
24698>>>>>>>