General information
Category:
Forms & Form designer
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only