thisform.oForm.DoAction( passSomeParamter )
Even better, have a custom method in FormA called DoAction(), too. (Sounds like a subclassed form with two additional subclasses, if necessary, for formA and formB.) Then, the command button in formA would call FormA.DoAction(). This will will help centralize form level code so that it's easier to maintain.
>If i hv 2 form, say Form A and Form B.
>if i want to click a button in Form A then it will perform Form B button click event, how can i do that~!
>pls reply~