>Without exact knowledge about the reason of this error I still would make some advices:
>1. If you don't use views, then you don't need in buffering at all (I assume this is C/S application).
>2. It's enough to have just one cursor which will provide recordsource for the grid.
>3. Grid itself can be set as readonly, i.e. Grid.ReadOnly=.T., and you don't need in going to WHen events.
>4. Textboxes showing current grid row can be unbound and populated with grid's cursor current record values from Grid.AfterRowColumnChange event.
>It seems to me, that these accomodations will make your code simpler and probably eliminate the problem.
Hello Edward,
Thanks for your reply.
We can not remove the buffering because we have some base classes that are using it and removing it would mean a lot of code changes. We do have one cursor and still have the problem. We have tried setting the grid to Read Only instead of using the when events and we still get the problem. We would have to do a lot of changes to our objects to unbound the text boxes from the current row.
Thanks again,
Rodrigo
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only