>Hello Naomi
>
>Thanks for your help and sorry if i take your time, but i have a last question.
>
>When you mencioned:
>
>loComboColumn = m_oForm.Pageframe1.Page1.Cont1.grid1.Column[LastColumn]
>
>[Lastcolumn] - how to now the value ?
>This is the column Name , like ?
> loComboColumn = m_oForm.Pageframe1.Page1.Cont1.grid1.Column.combo1
>
>could you rewrite to give me an example, because i am lost in this part of code, and VFP Grids for me are complex.
>
>Many thanks again for your precious help.
>
>Best regards
>Luis Santos
LastColumn will be m_oForm.Pageframe1.Page1.Cont1.grid1.ColumnCount assuming that that column was added last to the grid. Please test this piece, may be you'll need to do it slightly different way.
If it's not broken, fix it until it is.
My Blog