Hi,
I dont know if there is a limit, but if you have 8000 pushpins on the map then reading 2000 of them cannot be a problem.
But I see something in your code:
Code:
Message(MyRecord.PushPin.Nam
Does this means you display a messagebox or another form from within the loop ? If this is the case then that could be the reason of a stack overflow, because executing a modal form will enter the message pump and your procedure could be reentered !
Another reason could be that there is something recursered. Eg you call a method whitch fires an event witch calls a method again etc and at some point fires the same event or calls one of the same methods. This way you can flow the stack also easy over.
Do you have the stack overflow also if you just loop in the recordset without doeing anything els e?