by nageswaragunupudi » Thu Mar 17, 2011 2:33 pm
Mr. Otto
As Mr. Daniel advised Hide and show columns is one simple way if the change is simple.
Another way to dynamically change the view is by using the method ReArrangeCols( aCols, lRetainRest )
To show 'First', 'Last', 'City'
oBrw:ReArrangeCols( { "First", "Last", "City" }, .t. )
To switch to show 'First', 'Age', 'HireDate'
oBrw:ReArrangecols( { "First", "Age", "HireDate" }, .t. )
Regards
G. N. Rao.
Hyderabad, India