If you use VFP 8.0 the best idea would be to use BINDEVENT()
HTH
Agnes
>Hi All,
>At run time, I need to assign new code to the click method of column header in a grid. How is the best way to do this.
>Thanks in Advance.
>-Daniel
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]