To avoid this, you must never change the recordsource or controlsource
SELECT gridcursor
ZAP
APPEND FROM DBF('yourdatacursor')
yourgrid.REFRESH()
>Hi,
>
>I created a grid and define the recordsource and set the column and text controlsource. I use cursor as recordsource. However when I redefined the recordsource for the grid again thru the code, the grid setting change. How to avoid the changes of the grid when I use select command into cursor.
>
>Thanks for help.
>
>Kusnardi