>Hi. Is it possible to substitute grid fields "on the fly". Note that the fields both exist when the screen is loaded.
>
>What I am trying to do: allow my end-user toggle between Retail and Rental pricing.
>
>Thanks, Randy
Why not just change the control source in code.
With Thisform.grdMyGrid
if llUseRetail = .T.
.Column1.ControlSource = 'mytable.Retail'
else
.Column1.ControlSource = 'mytable.Rental'
endif
.Refresh()
EndWith
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn