>During execution, I must change the column number in a grid. My basic code is like this.
>
>grid.recordsource = "" && to reset any link with it
>grid.columncount = X && X is a variable containing a number
>
>But, when I execute this, the Fox Pro close.
>
>Any help on this?
Try removing the column explicitly instead of reducing the count.
THISFORM.Mygrid.RemoveObject("Column5")
Erik Moore
Clientelligence