>Thanks for replied guys,
>
>I guess I have to look for another code to try......
>Activecontrol property is kinda hard to deal with, with a grid in my form, activecontrol property always generating an Error message "activecontrol.name is not an object.", but if I delete the grid from my form, activecontrol works okay.
>Any suggestion ?
>
Yep - read the doc on ActiveControl, since it isn't always available. Specific reference to if the object that has focus is not active, referencing the property causes an error in the remarks.