I am working on a SB+ screen app where when I bring up a record, information gets displayed, and then when I immediately press F2, this error (in the subject) is displayed followed by:
index: 0 to one dimension matrix is out of range
..at which time SB+ aborts to the colon prompt.
I've checked my code to see if I'm updating some common variable in an unusual fashion but not finding anything like that. Can anyone with access to the source please tell me which variable is whacked and what I can do about it?
Another oddity, I am pressing F2 while the common variable CNT = 1. However, when inspect CNT, it's always 1315 - which is about 22% through the mv's being shown on the screen. This doesn't happen all the time, but with one specific record I can make it happen EVERY time. Also, I checked the record for any weird control characters and there are none. I even removed the mv set of data with CNT = 1315 and CNT is still 1315 when it blows up.
Any input about what variable is whacked would be most appreciated.
------------------------------
Kevin King
President
Precision Solutions, Inc.
Longmont CO US
------------------------------
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
