I understand that it will work better if you make mygrid.recordsource = '' and then do your changes, and then make mygrid.recordsource = 'mycursor'
>I have a grid that the RecordSource is a cursor:
>mygrid.recordsource='myCursor'
>
>if I regenerate the cursor to get the latest data from myTable with:
>select * from myTable into cursor myCursor
>
>I have to do this in order to get the new info displayed:
>mygrid.recordsource='myCursor'
>mygrid.refresh()
>
>After all this I get the new data displayed but I loose any grid or column configuration that the grid had previously.
>
>Any tips on preventing to loose the configuration or at least an easy way to save the hole grid (inlcuding colunms) configuration to restore after the cursor regeneration?
--Todd Sherman
-Wake Up! Smell the Coffee!