Quantcast
Channel: Access for Developers forum
Viewing all articles
Browse latest Browse all 14673

Datasheet Subform focus

$
0
0
Forms!supform1!SupForm1Sub.SetFocus                               'Set Focus to the Subform
Forms!supform1!SupForm1Sub.Form![Class_Classification].SetFocus     'Set Focus to the Subform Field

I am having trouble setting focus to a subform datasheet view.  I setfocus to the subform first and then to the field itself.  However, I must still click on the form to gain focus (move between records with arrow keys).  First any thoughts on what I am doing wrong, this works on any form and subform I use but this is the first time with a datasheet view form.  Second question is how can I right a debug statement to show me what form and what field as the current focus.  thanks in advanced. 

cmbeards



Viewing all articles
Browse latest Browse all 14673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>