Index array error

GCC Consulting rkreiss at gccconsulting.net
Fri Mar 8 11:51:44 PST 2013


Windows server 2008, filepro 5.6.10, RDP into his system  03/06/13

Moved some programming to a client's system last night.  I had run a posting
process for testing on my system.  The data set is a bit older than the
current data on his system.  The program ran without a problem on my system
using dreport.  As soon after the records were selected on the client's
system - rreport, I received the array index out of range: 0.  I really
can't find any reason for this as ct(2,.0 is set to "1" prior to reaching
the array.

As there is no way to tell what record this problem occurred on, I added a
show statement to let me know.  I turned on the debugger at the point where
the array is filled and then sat on the enter key or Q.  Almost 1,000
records processed without	the array index error.  I haven't been able
to figure out why this is happening.  I was able to get the program to run
in dclerk but not rclerk.  I finally made some changes which checked the
value of ct when the array was used to post values.  I still can't figure
out why ct would have a null value as it is set as the start of the process
for each record.  

As of today the program is working.  Still would like to have the record
number of the record being processed when filePro shows a message and is
going to exit the program.


Richard Kreiss
GCC Consulting

Office: 410-653-2813





More information about the Filepro-list mailing list