>Hello comunity
>
>I want to know if it´s possible to determine ncolindex when i have the focus on any columns in the grid.
>Because i think , if i can know what the columnindex number , i can use the event afterrowcolchange ,that was enable on my program ,and when i moving to another column i can make the result calculation of two columns in another one without changing the controlsource, because changing the controlcsource the column will be readonly and also if i change the controlsource to a calculation value this column don´t update the original controlsource that was the field name of my table.
>
>If i can do that , without cycle FOR ...NEXT , i think my problem was resolved.
>Could you , if possible , write some example code to do that based on my original code but without FOR...NEXT
>
>Many thanks
>Luis Santos
Is it the only problem to save value back to table, or you want to allow users typing values in the cell?
Edward Pikman
Independent Consultant