Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with changing column number in a grid
Message
From
04/02/1999 10:38:56
 
 
To
04/02/1999 09:32:34
Martin Thibault
Minière Québec Cartier
Port-Cartier, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00183840
Message ID:
00183874
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform