|
-
March 30th, 1999, 01:44 PM
#1
got focus for control in subform
Can anyone help with this one?
I'm trying to set focus on DPR_Number control when clicking on DPR/Budget Information tab on a form. Is this the correct code? It's not working.
NAMES
Form name is NewPO
Tab contrl name is Tabctl31
Form on the tab control is DPR
Control on the form is DPR_Number
CODE
Controls!tabctl31!.SetFocus
Forms!DPR!.SetFocus
Controls!DPR_Number!.SetFocus
Also, I want the focus to move to a control in another page of the tab control (the Project Information tab) when the last control on the DPR form (Budget Amount in the DPR/Budget Information tab) has lost focus. How do I write the code for this?
Thanks so much!
Vicky
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|