How to Know the BindingSource Status?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nev
    Contributor
    • Oct 2007
    • 251

    How to Know the BindingSource Status?

    When bindingsource.a ddnew, it fires positionchanged event. When movenext, moveprevious, etc, it also fires positionchanged event.

    If I am to place code in positionchanged event, how will I determine if bindingsource state is in addnew mode?

    If bindingsource.s tate??? = addnew??? then
    'Place code here if bindingsource state is in addnew mode.
    end if
Working...