hi,
i am facing a problem:
i have a form with a subform control on it..now when the user enters a record the control shifts properly from the main form to the subform,but after completion of filling details in the subform i want the focus to go on the add button on my main form,when i give :
forms!mast!add_cmd.setfocus it produces an error and says that the control is either a label or ....
i tried passing the focus to various other controls on the main form but all in vain.
please help!!!
thanks in advance.
i am facing a problem:
i have a form with a subform control on it..now when the user enters a record the control shifts properly from the main form to the subform,but after completion of filling details in the subform i want the focus to go on the add button on my main form,when i give :
forms!mast!add_cmd.setfocus it produces an error and says that the control is either a label or ....
i tried passing the focus to various other controls on the main form but all in vain.
please help!!!
thanks in advance.