By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,400 Members | 953 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,400 IT Pros & Developers. It's quick & easy.

How to set focus to a recordselector programatically

P: 13
I can not find out how.

I think it will be useful (and beautiful) if I can set the focus to a recordselector.
For example, in the datasheet view, I can use this to select a row programatically.

Any help will be appreciated.
Aug 25 '08 #1
Share this Question
Share on Google+
1 Reply


missinglinq
Expert 2.5K+
P: 3,532
There is no "setting focus" to the record selector. To select a record thru code, you can do something like
Expand|Select|Wrap|Line Numbers
  1. 'Move to the last record
  2. DoCmd.GoToRecord , , acLast
  3.  
  4. 'Select the record
  5. DoCmd.RunCommand acCmdSelectRecord
Linq ;0)>
Aug 26 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.