SmpTraining
MIS
Crystal's web site says that the max number of array elements (in v8) is 1000.
I have a bubble sort that tries to sort about 260 array elements and I'm getting the message:
"A loop was evaluated more than the maximum number of times allowed"
As a bubble sort looks like this:
For x = 1 to Ubound(array)
For y = 1 to ubound(array)-1
<Do stuff>
Next y
Next x
...and array has 260 elements, I think I'm getting the error. Can anyone confirm this or suggest a workaround? Steve Phillips, Crystal Consultant
I have a bubble sort that tries to sort about 260 array elements and I'm getting the message:
"A loop was evaluated more than the maximum number of times allowed"
As a bubble sort looks like this:
For x = 1 to Ubound(array)
For y = 1 to ubound(array)-1
<Do stuff>
Next y
Next x
...and array has 260 elements, I think I'm getting the error. Can anyone confirm this or suggest a workaround? Steve Phillips, Crystal Consultant