>Hi
>
>what intructions of command return the last name of object active?
>
>thanks...
Try thisform.activecontrol.name
Note that there may be no active control at some particular moment.
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