G
Guest
I have posted this question on the other thread last week, but I am still
have trouble with the issue.
Basically, after the subform got populated, I had one text field from the
main form and one from the sub highlighted, but it is the one on the main
form got the focus. I want it to lost the focus, or give it to sub form.
But how? Selected=false? txt.UnSetFocus?
The tab stop and tab index seems only cycle within controls on the
header/main form, or on the detail/subform, but not jump across from one to
the other.
Here are the controls I have:
txtHeader1 and cmdHeader1 are on the header, and txtDetail1 is on the
subform, which is located in the detail section.
Users type a value in txtHeader1, then click cmdHeader1 to populate
txtDetail1.
Now, at this time, both values in txtHeader1 and txtDetail1 got highlighted.
The new input will be in txtHeader1. I want only txtDetail1 to have the
focus, and take the input.
Am I asking too much? Thanks!
have trouble with the issue.
Basically, after the subform got populated, I had one text field from the
main form and one from the sub highlighted, but it is the one on the main
form got the focus. I want it to lost the focus, or give it to sub form.
But how? Selected=false? txt.UnSetFocus?
The tab stop and tab index seems only cycle within controls on the
header/main form, or on the detail/subform, but not jump across from one to
the other.
Here are the controls I have:
txtHeader1 and cmdHeader1 are on the header, and txtDetail1 is on the
subform, which is located in the detail section.
Users type a value in txtHeader1, then click cmdHeader1 to populate
txtDetail1.
Now, at this time, both values in txtHeader1 and txtDetail1 got highlighted.
The new input will be in txtHeader1. I want only txtDetail1 to have the
focus, and take the input.
Am I asking too much? Thanks!