How to determine if you are at a new record???

I am new to VB .NET. I am designing a windows form and would like to be able to determine if the form is at a new record. Is there any way to do this. I searched through the forums and could not find anything on this topic. Any help would be greatly appreciated.


Answer this question

How to determine if you are at a new record???

  • Rabbi Joseph Gordon

    Thanks, I didn't think about using the source.count.

  • YetAnotherLogin

    If the binding source has a record counting property, the new record will be at

    Source.Count-1



  • CrazyIdeas

    The form is at a "new record "

    Could you say more



  • McROBBHOOD

    Example...

    1. If you have a bindingnavigator and you were to press the "Add New Item" button.

    or

    2. BindingSource.AddNew()

    These would be what I would call a "New Record". I am new to the terminology. I am used to VBA for MS Access.

    Hope this is enough of an explanation.



  • How to determine if you are at a new record???