>Because the grid is on crack! (hehehe).
>
>I think it has something to do with the fact that the RecordSource gets recreated. Try setting the RecordSource to blank then recreating the cursor and then reassigning the RecordSource.
>
>Aloha,
>
>James
No, it should not be the case here, because I use RemoveObject and NewObject, so the container is getting completely re-created. Unless something is stuck in memory somehow (I was thinking about it on the way home in a train).
I think, Dragan nailed the cause and hopefully his idea will work. Otherwise I would probably have to either create grid as a separate class and add it in run-time as well or put all in code, which would be a pain...
If it's not broken, fix it until it is.
My Blog