Hi,
Im using the following code to lock the information of a subform on loading the main form.
Forms!PurchaseOrder!PoSubForm.Locked = True
And it’s working perfectly,
But when I try to set the focus to one of the text boxes in the Subform with the following code;
Forms!PurchaseOrder!PoSubForm.Form!Text20.setfocus
It’s not working, any ideas on what I’m missing.
Thanks
eon5
Im using the following code to lock the information of a subform on loading the main form.
Forms!PurchaseOrder!PoSubForm.Locked = True
And it’s working perfectly,
But when I try to set the focus to one of the text boxes in the Subform with the following code;
Forms!PurchaseOrder!PoSubForm.Form!Text20.setfocus
It’s not working, any ideas on what I’m missing.
Thanks
eon5