Hi All

I am really struggeling with something simple, i have a vsflexgrid with 1 col and 10 rows i then have an array of 10 command buttons cmdDep and i just can't seem to figure out how to get the names from each row in the grid to populate all 10 button captions. I did the same thing a while back with populating the captions from a database and that was no problem, but i can't seem to get my head around looping through the grid and the command buttons. Please could someone shed some light on this for me.

Many thanks in advance