B
bhammer
Access 2003
The Main form has SubFormLeft and SubFormRight, both in datasheet view. The
current record on the Left list triggers the Right list to Requery to reflect
the current record on the Left (based on a Where query). This is fine.
Now I want the user to be able to key Down through the records on the Right
list immediately after clicking in whatever field (selecting a record) on the
Left list.
I tried in the Left subform's Current event:
Forms.Main.SubFormRight.SetFocus
This does in fact move the focus to the Right, but it leaves the blinking
cursor back in the text field on the Left side. This is bad because when the
user uses the Down key the focus is moved the next record on the Left,
instead of the Right (even though the Right had the Focus, ie highlight.)
Brad.
The Main form has SubFormLeft and SubFormRight, both in datasheet view. The
current record on the Left list triggers the Right list to Requery to reflect
the current record on the Left (based on a Where query). This is fine.
Now I want the user to be able to key Down through the records on the Right
list immediately after clicking in whatever field (selecting a record) on the
Left list.
I tried in the Left subform's Current event:
Forms.Main.SubFormRight.SetFocus
This does in fact move the focus to the Right, but it leaves the blinking
cursor back in the text field on the Left side. This is bad because when the
user uses the Down key the focus is moved the next record on the Left,
instead of the Right (even though the Right had the Focus, ie highlight.)
Brad.