>The problem with columnount, is that it removes my code from the textbox. i had already tried that one.
>
>I solve my problem in another way. i added a second datagrid to show subtotals, and will update the cursor in the afterrowcolchange event.
>
>Thanks anyway...
What would you do with the code that you'd never use.
Cetin