Moving to Next record in VB 2010 programmatically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mikey McOz
    New Member
    • Nov 2012
    • 1

    Moving to Next record in VB 2010 programmatically

    I am currently trying to convert my MSAccess application to VB2010 Express but am at a loss of how to get VB to action the functionality which I had in MSAccess which was that when the user presses the right arrow key while in the Name textbox it would move onto the next record in the recordsource. I have tried to use the MoveNextItem of the BindingSource object but it is finding an exception;
    BindingNavigato rMoveNextItem.S elect()

    What am I doing wrong?
  • PsychoCoder
    Recognized Expert Contributor
    • Jul 2010
    • 465

    #2
    Start by showing the code that's causing the error, also give us the error you're getting (these items will make it easier for us to help you :) )

    EDIT:

    You can also try the MoveNext Method of the BindingSource instead of MoveNextItem

    Comment

    Working...