A1VBCode Forums

Buffer overflow problem


By UHsoccer - 4/9/2016

Trying to work a buffer overflow problem

1) Is there a statement that I can add to either increase or ignore the buffer overflow issue

tried adding without success


<%Response.Buffer = False%>

2) While in the loop

numProb = 0

While Not objProb.EOF

numProb = numProb + 1

' much code

if numProb > 100 then exit-exit-this-loop ???

objProb.MoveNext ' next activity


How can I exit this after a specific number of entries have been processed?

Appreciate help
By Mark - 4/10/2016

Try a for loop instead

For i = 1 to 100

' your code


Next i