How to set focus to a recordselector programatically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Billiska
    New Member
    • Aug 2008
    • 13

    How to set focus to a recordselector programatically

    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.
  • missinglinq
    Recognized Expert Specialist
    • Nov 2006
    • 3533

    #2
    There is no "setting focus" to the record selector. To select a record thru code, you can do something like
    Code:
    'Move to the last record
    DoCmd.GoToRecord , , acLast
    
    'Select the record
    DoCmd.RunCommand acCmdSelectRecord
    Linq ;0)>

    Comment

    Working...