Jim:
>
>lcColumn = THISFORM.Grid1.Columns(THISFORM.Grid1.ActiveColumn).Name
Ok, no syntax error now but back to the original problem.
If you do your instruction when in the 2nd column of the grid you'll get Column2, if you swap positions of column 2 and 3, and positioned in the 2nd column excecute your instruction you'll get Column2, instead of Column3 as desired.
I solved my situation with a workaround but still wondering how to get the reference of the selected column in a grid?
Jorge Flores
From the Amigo Country