CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Edit a record

  1. #1
    Guest

    Edit a record

    I want to edit a record in my database (which is indexed having unique
    fields). But whenever I do so, it gives error of duplicate values.
    But I am using data1.recordset.edit, so I guess it shouldn't give
    that error. Please guide me in this. It is urgent.


  2. #2
    Join Date
    Jan 2000
    Location
    CA
    Posts
    52

    Re: Edit a record

    This is probably obvious, but if you are trying to edit a field that is required to be unique, you must ensure that you are not setting in an existing value.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured