There are two ways to prevent it:
1. You programmatically restore all grid properties every time you overwrite the cursor.
2. You don't overwrite the cursor, i.e. you SELECT records into one read-only cursor and then append them to read-write cursor (ZAPped) which is grid.recordsource.
>Hi,
>
>I have pre-defined columns width in a grid ( I'm using a cursor). But when I update the cursor by using the refresh command , I noticed that the position of the columns are rearranged and the headings have changed. Is there a way to prevent this from happening?
>Any help is appreciated.
>
>Steve
>
>P.S. Does anyone knows if Visual FoxPro 6.0 made any enhancements to the grid?
Edward Pikman
Independent Consultant