Excel error from prchoice

This forum is for eXpress++ general support.
Post Reply
Message
Author
omni
Posts: 554
Joined: Thu Jan 28, 2010 9:34 am

Excel error from prchoice

#1 Post by omni »

Roger,

Getting this error, express 263 on 1.9. Just on one report so far, but does not make a lot of sense, other than the column counter is off (it appears)

-> VALTYPE: A VALUE: {"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "INTERNATIONAL FUEL TAX REPORT", "", "", "", "", "", ""}

-> VALTYPE: N VALUE: 27
oError:description : Error in array index
oError:filename :
oError:genCode : 4
oError:operation : <A of 26>[<27>]
CALLSTACK:
Called from DC_ARRAY2EXCEL(5147)
Called from DC_PRINTEROFF(3813)
Called from PRINTOFF(631)

The headers and columns are fairly complex and landscape, but I cannot get it do error on any other report in my testing.



Fred
Omni

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Excel error from prchoice

#2 Post by rdonnay »

Are you sure you are using build 263?

Line 5147 of _DCFUNCT.PRG should not cause that kind of error.
The eXpress train is coming - and it has more cars.

omni
Posts: 554
Joined: Thu Jan 28, 2010 9:34 am

Re: Excel error from prchoice

#3 Post by omni »

Yes, I saw that also..it does not make any sense. I have seen error messages with wrong line numbers, but I do not know how to check that issue on that code.
Now we did recompile dclipx for a change you gave us, but it should not have impacted that line number.
That was one line changed on dcprc.prg.

I can try with another version(?). Or retry the compile to see if it may have compiled wrong for some reason.

Fred

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: Excel error from prchoice

#4 Post by Auge_Ohr »

hi,
The headers and columns are fairly complex and landscape, but I cannot get it do error on any other report in my testing.
can you reproduce that Error ? how does Header Text look like ?
greetings by OHR
Jimmy

omni
Posts: 554
Joined: Thu Jan 28, 2010 9:34 am

Re: Excel error from prchoice

#5 Post by omni »

Roger,

Recompiled and its line 5042. That one makes sense matching with the error...

this report is landscape...I moved the page counter (far right which is 135 column) one row down from the top row and then it worked. Odd...just a trial and error.

Fred

Post Reply