>In a grid control, how can i know the number of the row ? not the activerow, just the number of the row, i want use dynamicbackcolor for the odd number of row, but i cant use recno() % 2 because the table have an index key, how can i do that ?
>
>TIA
In this case you should have and maintain some extra field where you will keep the row numbering according to the index, and use this field for dynamicbackcolor.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison