Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00006903
Message ID:
00007272
Views:
48
>>>Hello all! I’ve got a Grid question. I have a grid on a form displaying >
>THISFORM.grdLabforce.grcPeriod.Width = lnPeriodWidth
>THISFORM.grdLabforce.grcPeriod.ControlSource = lcPeriodSource
>
>Seemed straightforward to me but I get an error saying "Unknown Member >grcPeriod" when I try to reset the column width. The variable assignment >at the beginning recognizes grcPeriod but the property assignment at the >end does not. Any ideas? Thanks again!

I think, when you change record source for a Grid object, you loose probavly not only values of miscelaneous column properties, but columns objects themselves as well. In any case, it should be easy to check if you suspend your program before you get an error message and examine your Grid object in Debug Window.

Have fun!
Leonid.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform