General information
Category:
Forms & Form designer
>several things
>1st when u sub-class a grid you don't have to have it functional you can
>just use it as a template
Good point. But still doesn't solve the problem if you need to change the grid from one alias to another during runtime. In fact, with VFP 5.0, I'm even having problems with MSFT's suggestion of pointing the grid to another table with the exact same structure. For some reason, changing the Grid's recordsource causes all controlsources for the columns to be reset, no matter what you change recordsource to.
>2nd you can also try to set ther recordsource to "" before making the change and then setting it (as suggested by Michel P. in VFUG tips)
This seems to not work with 5.0. Maybe it has to do with the syntax of the controlsources for the grid columns (I also tried leaving columns' controlsources blank and setting the controlsource for each column's control. Still made no difference).
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